forked from Github-Mirrors/canaille
12 lines
493 B
HTML
12 lines
493 B
HTML
{% import 'macro/form.html' as fui %}
|
|
{% macro render_field(field) %}
|
|
{% if field.name == "login" %}
|
|
{{ fui.render_field(field, icon="user", noindicator=true, class="autofocus", **kwargs) }}
|
|
{% endif %}
|
|
{% if field.name == "password" %}
|
|
{{ fui.render_field(field, icon="key", noindicator=true, **kwargs) }}
|
|
{% endif %}
|
|
{% if field.name == "otp" %}
|
|
{{ fui.render_field(field, icon="key", noindicator=true, **kwargs) }}
|
|
{% endif %}
|
|
{% endmacro %}
|