mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-23 06:39:25 +00:00
Final cleanup, formset was actually supposed to be fieldset.
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user