Add helpful title text to numeric inputs

This commit is contained in:
Tobias Kunze
2018-08-07 14:28:11 +02:00
committed by Raphael Michel
parent 23ed381859
commit 532c7fbc8f
2 changed files with 8 additions and 4 deletions

View File

@@ -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"