Commit 8752bccc authored by kanellov's avatar kanellov

fix #27

parent 2157a4e0
......@@ -16,7 +16,7 @@
{% macro itemCount(name, label, value, index) %}
<div class="form-group">
<div class="col-xs-12 col-sm-12 col-md-9">
<input placeholder="{{ label|striptags }}" class="form-control input-sm"
<input placeholder="{{ label|striptags }}" class="form-control input-sm" min="1"
type="number" name="items[{{ index | default('<%= index %>') | raw }}][{{ name }}]" value="{{ value|default('')|raw }}">
</div>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment