Initial Public Release
This commit is contained in:
commit
c537cc0ec6
32 changed files with 17902 additions and 0 deletions
12
snapindices/templates/_formhelpers.html
Normal file
12
snapindices/templates/_formhelpers.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{% macro render_field(field) %}
|
||||
{{ field(**kwargs)|safe }}
|
||||
{% if field.errors %}
|
||||
<div class="alert alert-danger">
|
||||
<ul>
|
||||
{% for error in field.errors %}
|
||||
<li>{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
Loading…
Add table
Add a link
Reference in a new issue