<input id="c" name="row[q]" data-rule="required;range(0~)" class="form-control" type="number" value="{$w}">