1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-11-26 18:07:10 +00:00
plateforme-tfjm2/tfjm/templates/amount_input.html

11 lines
582 B
HTML
Raw Normal View History

2020-12-27 10:49:54 +00:00
<div class="input-group">
<input class="form-control mx-auto d-block" type="number" min="0" step="0.01"
{% if widget.value != None and widget.value != "" %}value="{{ widget.value }}"{% endif %}
name="{{ widget.name }}"
{% for name, value in widget.attrs.items %}
{% ifnotequal value False %}{{ name }}{% ifnotequal value True %}="{{ value|stringformat:'s' }}"{% endifnotequal %}{% endifnotequal %}
{% endfor %}>
<div class="input-group-append">
<span class="input-group-text"></span>
</div>
</div>