weight is not mandatory anymore
This commit is contained in:
@@ -170,7 +170,7 @@
|
||||
<label for="{$label_attr.for}" class="control-label">{$label} : </label>
|
||||
|
||||
<div class="input-group">
|
||||
<input type="text" id="{$label_attr.for}" required="required" name="{$name}" class="form-control" value="{$value}" title="{$label}" placeholder="{intl l='Product weight'}">
|
||||
<input type="text" id="{$label_attr.for}" name="{$name}" class="form-control" value="{$value}" title="{$label}" placeholder="{intl l='Product weight'}">
|
||||
<span class="input-group-addon">{intl l="Kg"}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -411,7 +411,7 @@
|
||||
{/form_field}
|
||||
|
||||
{form_field form=$form field='weight' value_key=$idx}
|
||||
<td {if $error}class="has-error"{/if}><input required class="form-control text-right" required type="text" name="{$name}" value="{$value}" /></td>
|
||||
<td {if $error}class="has-error"{/if}><input required class="form-control text-right" type="text" name="{$name}" value="{$value}" /></td>
|
||||
{/form_field}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user