mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-14 21:40:43 +00:00
16 lines
410 B
HTML
16 lines
410 B
HTML
|
{% import 'admin/model/inline_list_base.html' as base with context %}
|
||
|
|
||
|
{% macro render_field(field) %}
|
||
|
{{ field }}
|
||
|
|
||
|
{% if h.is_field_error(field.errors) %}
|
||
|
<ul class="help-block input-errors">
|
||
|
{% for e in field.errors if e is string %}
|
||
|
<li>{{ e }}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% endif %}
|
||
|
{% endmacro %}
|
||
|
|
||
|
{{ base.render_inline_fields(field, template, render_field, check) }}
|