Initial commit

This commit is contained in:
Ana Custura 2026-02-17 08:42:33 +00:00
commit c0b4ca1021
21 changed files with 677 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{% macro form_input_field(field) %}
<div class="control">
{{ field.label(class='label')}}
{{ field(class='input' + (' is-danger' if field.errors else ' is_success'), type="text") }}
{% for error in field.errors %}
<p class="help is-danger">{{ error }}</p>
{% endfor %}
</div>
{% endmacro %}
{% macro form_bool_field(field) %}
<div class="control">
{{ field.label(class='label')}}
{{ field(class='checkbox', type="checkbox") }}
{% for error in field.errors %}
<p class="help is-danger">{{ error }}</p>
{% endfor %}
</div>
{% endmacro %}