diff --git a/templates/auth/login.html.tera b/templates/auth/login.html.tera index f16fe0c..86bc354 100644 --- a/templates/auth/login.html.tera +++ b/templates/auth/login.html.tera @@ -14,10 +14,10 @@
- {{ macros::input(label='Name', name='name', type='input', required=true, class='rounded-t-md') }} + {{ macros::input(label='Name', name='name', type='input', required=true, class='rounded-t-md',hide_label=true) }}
- {{ macros::input(label='Passwort', name='password', type='password', class='rounded-b-md') }} + {{ macros::input(label='Passwort', name='password', type='password', class='rounded-b-md',hide_label=true) }}
diff --git a/templates/auth/set-pw.html.tera b/templates/auth/set-pw.html.tera index 1670f97..93d5582 100644 --- a/templates/auth/set-pw.html.tera +++ b/templates/auth/set-pw.html.tera @@ -9,10 +9,10 @@
- {{ macros::input(label='Passwort', name='password', type='password', required=true, class='rounded-t-md') }} + {{ macros::input(label='Passwort', name='password', type='password', required=true, class='rounded-t-md',hide_label=true) }}
- {{ macros::input(label='Passwort bestätigen', name='password_confirm', type='password', required=true, class='rounded-b-md') }} + {{ macros::input(label='Passwort bestätigen', name='password_confirm', type='password', required=true, class='rounded-b-md',hide_label=true) }}
diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera index d3757b5..99f8b63 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -24,9 +24,11 @@
{% endmacro header %} -{% macro input(label, name, type, required=false, class='rounded-md', value='', min='') %} - - +{% macro input(label, name, type, required=false, class='rounded-md', value='', min='', hide_label=false) %} +
+ + +
{% endmacro input %} {% macro checkbox(label, name, id='', checked=false) %}