mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Add helpful title text to numeric inputs
This commit is contained in:
committed by
Raphael Michel
parent
23ed381859
commit
532c7fbc8f
@@ -336,7 +336,8 @@
|
||||
<label class="item-checkbox-label">
|
||||
<input type="checkbox" value="1"
|
||||
id="variation_{{ item.id }}_{{ var.id }}"
|
||||
name="variation_{{ item.id }}_{{ var.id }}">
|
||||
name="variation_{{ item.id }}_{{ var.id }}"
|
||||
title="{% blocktrans with item=item.name var=var.name %}Amount of {{ item }} – {{ var }} to order{% endblocktrans %}">
|
||||
</label>
|
||||
{% else %}
|
||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
||||
@@ -442,7 +443,8 @@
|
||||
pattern="\d*" {% if itemnum == 1 %}value="1"{% endif %}
|
||||
max="{{ item.order_max }}"
|
||||
name="item_{{ item.id }}"
|
||||
id="item_{{ item.id }}">
|
||||
id="item_{{ item.id }}"
|
||||
title="{% blocktrans with item=item.name %}Amount of {{ item }} to order{% endblocktrans %}">
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
|
||||
@@ -123,7 +123,8 @@
|
||||
pattern="\d*"
|
||||
max="{{ item.order_max }}"
|
||||
id="variation_{{ item.id }}_{{ var.id }}"
|
||||
name="variation_{{ item.id }}_{{ var.id }}">
|
||||
name="variation_{{ item.id }}_{{ var.id }}"
|
||||
title="{% blocktrans with item=item.name var=var.name %}Amount of {{ item }} – {{ var }} to order{% endblocktrans %}">
|
||||
{% else %}
|
||||
<label>
|
||||
<input type="radio" name="_voucher_item"
|
||||
@@ -199,7 +200,8 @@
|
||||
pattern="\d*"
|
||||
max="{{ item.order_max }}"
|
||||
id="item_{{ item.id }}"
|
||||
name="item_{{ item.id }}">
|
||||
name="item_{{ item.id }}"
|
||||
title="{% blocktrans with item=item.name %}Amount of {{ item }} to order{% endblocktrans %}">
|
||||
{% else %}
|
||||
<label>
|
||||
<input type="radio" name="_voucher_item"
|
||||
|
||||
Reference in New Issue
Block a user