2008-06-27 15:34:47 -07:00
|
|
|
{% extends "base.html" %}
|
2010-03-16 11:18:45 -07:00
|
|
|
{% block title %}Arch Linux - {{title}}{% endblock %}
|
2008-06-27 15:34:47 -07:00
|
|
|
|
|
|
|
{% block content %}
|
2010-03-16 11:18:45 -07:00
|
|
|
<div id="generic-form" class="box">
|
|
|
|
|
|
|
|
<h2>{{title}}</h2>
|
|
|
|
|
|
|
|
{% if description %}{{description}}{% endif %}
|
|
|
|
|
2010-06-11 15:29:46 -07:00
|
|
|
<form class="general-form" method="post">{% csrf_token %}
|
2010-03-16 11:18:45 -07:00
|
|
|
<fieldset>
|
2008-06-27 15:34:47 -07:00
|
|
|
{% for field in form %}
|
2010-03-16 11:18:45 -07:00
|
|
|
<p><label>{{field.label}}{% if field.help_text %}:</label><br />
|
|
|
|
<span class="form-help">{{field.help_text}}</span> {% else %}:</label> {% endif %}
|
|
|
|
{{field}} {% if field.required %}<span class="form-req-field">*</span>{% endif%}</p>
|
2008-06-27 15:34:47 -07:00
|
|
|
{% endfor %}
|
2010-03-16 11:18:45 -07:00
|
|
|
</fieldset>
|
|
|
|
<p><label></label> <input type="submit" value="{{submit_text}}" /></p>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
2008-06-27 15:34:47 -07:00
|
|
|
{% endblock %}
|