mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-22 16:02:16 +00:00
More tweaks
This commit is contained in:
@@ -104,7 +104,7 @@
|
|||||||
</dd>
|
</dd>
|
||||||
<dt class="col-sm-6">{{ object|help_text:'safe_loading'|safe }}</dt>
|
<dt class="col-sm-6">{{ object|help_text:'safe_loading'|safe }}</dt>
|
||||||
<dd class="col-sm-6">
|
<dd class="col-sm-6">
|
||||||
{{ object.safe_loading.name|yesnoi }}
|
{{ object.safe_loading|yesnoi }}
|
||||||
</dd>
|
</dd>
|
||||||
<dt class="col-sm-6">{{ object|help_text:'safe_storage' }}</dt>
|
<dt class="col-sm-6">{{ object|help_text:'safe_storage' }}</dt>
|
||||||
<dd class="col-sm-6">
|
<dd class="col-sm-6">
|
||||||
|
|||||||
@@ -2,15 +2,13 @@
|
|||||||
{% if form.errors %}
|
{% if form.errors %}
|
||||||
<div class="alert alert-danger alert-dismissable">
|
<div class="alert alert-danger alert-dismissable">
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||||
<dl class="dl-horizontal">
|
<dl class="row">
|
||||||
{% with form|nice_errors as qq %}
|
{% with form|nice_errors as qq %}
|
||||||
{% for error_name,desc in qq.items %}
|
{% for error_name,desc in qq.items %}
|
||||||
<span>
|
<dt class="col-4">{{error_name}}</dt>
|
||||||
<dt>{{error_name}}</dt>
|
<dd class="col-8">{{desc}}</dd>
|
||||||
<dd>{{desc}}</dd>
|
|
||||||
</span>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user