6 lines
325 B
HTML
6 lines
325 B
HTML
{% macro text_input(label, name, id="",type="text",value="") %}
|
|
<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}}" {% if value %}value="{{value}}"{% endif %} />
|
|
</div>
|
|
{% endmacro text_input %}
|