<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">{:__('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">{:__('Item_id')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-item_id" data-rule="required" data-source="item/index" class="form-control selectpage" name="row[item_id]" type="text" value="{$row.item_id|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Item_type')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-item_type" data-rule="required" class="form-control" name="row[item_type]" type="number" value="{$row.item_type|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Item_name')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-item_name" data-rule="required" class="form-control" name="row[item_name]" type="text" value="{$row.item_name|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Item_memo')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-item_memo" data-rule="required" class="form-control" name="row[item_memo]" type="text" value="{$row.item_memo|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Item_unit')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-item_unit" data-rule="required" class="form-control" name="row[item_unit]" type="text" value="{$row.item_unit|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Use_date')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-use_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[use_date]" type="text" value="{$row.use_date}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Prod_num')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-prod_num" data-rule="required" class="form-control" name="row[prod_num]" type="number" value="{$row.prod_num|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Total_price')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-total_price" data-rule="required" class="form-control" name="row[total_price]" type="text" value="{$row.total_price|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Total_cost')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-total_cost" data-rule="required" class="form-control" step="0.01" name="row[total_cost]" type="number" value="{$row.total_cost|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Profit')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-profit" data-rule="required" class="form-control" step="0.01" name="row[profit]" type="number" value="{$row.profit|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Log')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-log" data-rule="required" class="form-control" name="row[log]" type="text" value="{$row.log|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Country_name')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-country_name" data-rule="required" class="form-control" name="row[country_name]" type="text" value="{$row.country_name|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Province_name')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-province_name" data-rule="required" class="form-control" name="row[province_name]" type="text" value="{$row.province_name|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('City_name')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-city_name" data-rule="required" class="form-control" name="row[city_name]" type="text" value="{$row.city_name|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Detail_address')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-detail_address" data-rule="required" class="form-control" name="row[detail_address]" type="text" value="{$row.detail_address|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Del_flag')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-del_flag" data-rule="required" class="form-control" name="row[del_flag]" type="number" value="{$row.del_flag|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Confirm_status')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-confirm_status" data-rule="required" class="form-control" name="row[confirm_status]" type="number" value="{$row.confirm_status|htmlentities}"> </div> </div> <div class="form-group"> <label class="control-label col-xs-12 col-sm-2">{:__('Confirm_no')}:</label> <div class="col-xs-12 col-sm-8"> <input id="c-confirm_no" data-rule="required" class="form-control" name="row[confirm_no]" type="text" value="{$row.confirm_no|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-success btn-embossed disabled">{:__('OK')}</button> <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button> </div> </div> </form>