123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Productcode')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-productcode" class="form-control" name="row[productcode]" type="text" value="{$row.productcode|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Productprice')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-productprice" class="form-control" name="row[productprice]" type="text" value="{$row.productprice|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Productunit')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-productunit" class="form-control" name="row[productunit]" type="text" value="{$row.productunit|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Productcount')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-productcount" class="form-control" name="row[productcount]" type="number" value="{$row.productcount|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('User_switch')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <input id="c-user_switch" name="row[user_switch]" type="hidden" value="{$row.user_switch}">
- <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-user_switch" data-yes="1" data-no="0" >
- <i class="fa fa-toggle-on text-success {eq name="$row.user_switch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
- </a>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pay_switch')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <input id="c-pay_switch" name="row[pay_switch]" type="hidden" value="{$row.pay_switch}">
- <a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-pay_switch" data-yes="1" data-no="0" >
- <i class="fa fa-toggle-on text-success {eq name="$row.pay_switch" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
- </a>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
- </div>
- </div>
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|