mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
15 lines
410 B
HTML
15 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) }}
|