Fix password input type

This commit is contained in:
2020-07-18 15:54:22 +02:00
parent 50020c2f91
commit fc883373d0
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
<!-- {id, label, placeholder?, autocomplete?} -->
<!-- {id, label, type?, placeholder?, autocomplete?} -->
{% macro input(args) %}
<div class="mb-4">
<label
@@ -8,6 +8,7 @@
<input
id="{{ args.id }}"
name="{{ args.id }}"
{% if args.type %}type="{{ args.type }}"{% endif %}
{% if args.autocomplete %}autocomplete="{{ args.autocomplete }}"{% endif %}
{% if args.placeholder %}placeholder="{{ args.placeholder }}"{% endif %}
class="shadow focus:shadow-outline block appearance-none w-full bg-gray-700 border-gray-500 hover:border-gray-500 px-2 py-2 rounded shadow"