6 lines
273 B
HTML
6 lines
273 B
HTML
{% macro text_input(label, name, id="",type="text") %}
|
|
<div class="flex flex-col">
|
|
<label for="{{id}}" class="font-bold">{{label}}:</label>
|
|
<input class="border rounded p-1 bg-gray-50" type="{{type}}" name="{{name}}" id="{{id}}" />
|
|
</div>
|
|
{% endmacro text_input %}
|