evorepo/templates/general_form.html
2009-08-10 15:47:02 -04:00

26 lines
807 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="greybox">
<h2 class="title">{{title}}</h2>
{% if description %}{{description}}{% endif %}
<form method="post" action=".">
<table>
{% for field in form %}
<tr>
<td style="vertical-align:top">
<span {% if field.required %}style="fontweight: bold"{% endif%}>{{field.label}}:</span>
<br /><span style="font-size:x-small">{{field.help_text}}</span></td>
<td>{{field}}</td>
</tr>
{% endfor %}
<tr>
<td colspan="2" style="text-align:right">
<input type="submit" value=" {{submit_text}} " />
</td>
</tr>
</table>
</form>
</div>
{% endblock %}