Final cleanup, formset was actually supposed to be fieldset.

This commit is contained in:
2011-12-04 19:23:25 +00:00
parent 8ad4634fe7
commit e2223f6702
21 changed files with 97 additions and 92 deletions

View File

@@ -10,12 +10,12 @@
<p>Fill in a note you want to send to the user.</p>
<form action="{% url hr-acceptapplication application.id %}" method="post">
<formset>
<fieldset>
{% include "formtools/formfield.html" with field=form.text class="xxlarge" %}
{% include "formtools/formfield.html" with field=form.template %}
{% csrf_token %}
<input type="submit" value="Add" class="btn primary"/>
</formset>
</fieldset>
</form>
{% endblock %}

View File

@@ -11,12 +11,12 @@
<p>Select the character you wish to apply with, then the corporation you wish to apply for.</p>
<form action="{% url hr-addapplication %}" method="post">
<formset>
<fieldset>
{% include "formtools/formfield.html" with field=form.character %}
{% include "formtools/formfield.html" with field=form.corporation %}
{% csrf_token %}
<input type="submit" value="Create Application" class="btn primary"/>
</formset>
</fieldset>
</form>
{% endblock %}

View File

@@ -8,12 +8,11 @@
</div>
<form action="{% url hr-addmessage application.id %}" method="post">
<formset>
<fieldset>
{% include "formtools/formfield.html" with field=form.text class="xxlarge" %}
{% if form.template %}{% include "formtools/formfield.html" with field=form.template %}{% endif %}
{% csrf_token %}
<input type="submit" value="Add" class="btn primary"/>
</formset>
</fieldset>
</form>
{% endblock %}

View File

@@ -8,10 +8,10 @@
</div>
<form action="{% url hr-addnote application.id %}" method="post">
<formset>
<fieldset>
{% include "formtools/formfield.html" with field=form.text class="xxlarge" %}
{% csrf_token %}
<input type="submit" value="Add" class="btn primary"/>
</formset>
</fieldset>
</form>
{% endblock %}

View File

@@ -10,12 +10,12 @@
<p>Fill in the rejection reason below, please note, this will be sent out to the user.</p>
<form action="{% url hr-rejectapplication application.id %}" method="post">
<formset>
<fieldset>
{% include "formtools/formfield.html" with field=form.text class="xxlarge" %}
{% include "formtools/formfield.html" with field=form.template %}
{% csrf_token %}
<input type="submit" value="Reject" class="btn error"/>
</formset>
</fieldset>
</form>

View File

@@ -7,7 +7,7 @@
</div>
<form action="{% url hr-blacklist-add %}" method="post">
<formset>
<fieldset>
{% include "formtools/formfield.html" with field=form.type %}
{% include "formtools/formfield.html" with field=form.value class="xxlarge" %}
{% include "formtools/formfield.html" with field=form.reason class="xxlarge" %}
@@ -15,7 +15,7 @@
{% csrf_token %}
<input type="submit" value="Add Blacklist" class="btn primary"/>
</formset>
</fieldset>
</form>
{% endblock %}

View File

@@ -13,11 +13,11 @@
The person you are recommending needs to have created their application before you can add a recommendation.</p>
<form action="{% url hr-addrecommendation %}" method="post">
<formset>
<fieldset>
{% include "formtools/formfield.html" with field=form.character %}
{% include "formtools/formfield.html" with field=form.application %}
{% csrf_token %}
<input type="submit" value="Add Recommendation" class="btn primary"/>
</formset>
</fieldset>
</form>
{% endblock %}