123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <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">{:__('Active_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-active_id" data-rule="required" data-source="active/index" class="form-control selectpage" name="row[active_id]" type="text" value="{$row.active_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-order_id" data-rule="required" data-source="order/index" class="form-control selectpage" name="row[order_id]" type="text" value="{$row.order_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Credtype')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-credtype" data-rule="required" class="form-control" name="row[credtype]" type="text" value="{$row.credtype|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-idcard" data-rule="required" class="form-control" name="row[idcard]" type="text" value="{$row.idcard|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Emergencycontact')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-emergencycontact" data-rule="required" class="form-control" name="row[emergencycontact]" type="text" value="{$row.emergencycontact|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Contactmobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-contactmobile" data-rule="required" class="form-control" name="row[contactmobile]" type="text" value="{$row.contactmobile|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Insurance')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-insurance" data-rule="required" class="form-control" name="row[insurance]" type="text" value="{$row.insurance|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Originalprice')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-originalprice" data-rule="required" class="form-control" name="row[originalprice]" type="text" value="{$row.originalprice|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Vipprice')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-vipprice" data-rule="required" class="form-control" name="row[vipprice]" type="text" value="{$row.vipprice|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Coupon_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-coupon_id" data-rule="required" data-source="coupon/index" class="form-control selectpage" name="row[coupon_id]" type="text" value="{$row.coupon_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Coupontype')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-coupontype" data-rule="required" class="form-control selectpicker" name="row[coupontype]">
- {foreach name="coupontypeList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.coupontype"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Couponprice')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-couponprice" data-rule="required" class="form-control" name="row[couponprice]" type="text" value="{$row.couponprice|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Is_free')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-is_free" data-rule="required" class="form-control selectpicker" name="row[is_free]">
- {foreach name="isFreeList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.is_free"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-price" data-rule="required" class="form-control" name="row[price]" type="text" value="{$row.price|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Is_self')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-is_self" data-rule="required" class="form-control selectpicker" name="row[is_self]">
- {foreach name="isSelfList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.is_self"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="statusList" item="vo"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Modifystatus')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="modifystatusList" item="vo"}
- <label for="row[modifystatus]-{$key}"><input id="row[modifystatus]-{$key}" name="row[modifystatus]" type="radio" value="{$key}" {in name="key" value="$row.modifystatus"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </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>
|