summaryrefslogtreecommitdiffstats
path: root/templates/general_form.html
blob: 4c17481732c977c2eed80471d9881a43584f5fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "base.html" %}

{% block content %}
	<div class="greybox">
        <h2 class="title">{{title}}</h2>
		<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 %}