{% for i in (1..3) %} {% capture group_number %}item-group-{{i}}{% endcapture %} {% endfor %}
Date Item number Amount
{% include forms/date-field.html past_date="true" parsley_group=group_number %} {% include forms/text-field.html pattern="^\d{1,5}$" parsley_group=group_number %} {% include forms/text-field.html placeholder="$" pattern="^\d+\.?(\d{1,2})?" type="number" step="0.01" parsley_group=group_number %}
{% include buttons/link-button.html text="Add another item" className="uikit-btn--tertiary uikit-btn--block" onclick="addRow()"%}