minor template tweaks

This commit is contained in:
James Turk 2010-04-02 12:24:53 -04:00
parent e81559ace4
commit 071e3bdf03
2 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,9 @@
{% block article_body %}
<form method="POST" action=".">
<ul>
{{ form.as_ul }}
<li>{{form.body}}</li>
<li>{{form.comment.label_tag}} {{ form.comment }} </li>
<li>{{form.body_markup_type.label_tag}} {{ form.body_markup_type }} </li>
<li>
<button class="submitBtn" type="submit">
<span>Save Changes</span>

View File

@ -17,6 +17,7 @@
<th>Version</th>
<th>Author</th>
<th>Timestamp</th>
<th>Comment</th>
<th>Compare From</th>
<th>Compare To</th>
</tr></thead>
@ -33,6 +34,7 @@
</a></td>
<td>{{version.author}}</td>
<td><a href="{{version.get_absolute_url}}">{{version.timestamp|date:"Y-m-d H:i:s"}}</a></td>
<td>{{version.comment|default:""}}</td>
<td><input type="radio" name="from" value="{{version.number}}"></td>
<td><input type="radio" name="to" value="{{version.number}}"></td>
</tr>