mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Show hidden fields (fixes the update api issue)
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<form action="{% url eveapi-update acc.api_user_id %}" method="post">
|
||||
<fieldset>
|
||||
{% include "formtools/formerror.html" %}
|
||||
{% include "formtools/formfield.html" with field=form.user %}
|
||||
{% include "formtools/formfield.html" with field=form.api_user_id %}
|
||||
{% include "formtools/formfield.html" with field=form.api_key class="xxlarge" %}
|
||||
{% include "formtools/formfield.html" with field=form.description class="xxlarge" %}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{% load add_class %}
|
||||
|
||||
{% if field.is_hidden %}
|
||||
{{ field }}
|
||||
{% else %}
|
||||
<div class="clearfix{% if field.errors %} error{% endif %}">
|
||||
{{ field.label_tag }}
|
||||
<div class="input">
|
||||
@@ -8,4 +11,4 @@
|
||||
{% if field.errors %}<span class="help-inline">{% for error in field.errors %}{{ error }} {% endfor %}</span>{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user