123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <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">{:__('Product_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-product_id" data-rule="required" data-source="product/index" class="form-control selectpage" name="row[product_id]" type="text" value="{$row.product_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">{:__('Road_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-road_id" data-rule="required" data-source="road/index" class="form-control selectpage" name="row[road_id]" type="text" value="{$row.road_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Roadname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-roadname" class="form-control" name="row[roadname]" type="text" value="{$row.roadname|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Roadtype')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-roadtype" data-rule="required" class="form-control selectpicker" name="row[roadtype]">
- {foreach name="roadtypeList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.roadtype"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chufabanci_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chufabanci_id" data-rule="required" data-source="chufabanci/index" class="form-control selectpage" name="row[chufabanci_id]" type="text" value="{$row.chufabanci_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chufatime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chufatime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[chufatime]" type="text" value="{:$row.chufatime?datetime($row.chufatime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Ticket_number')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-ticket_number" class="form-control" name="row[ticket_number]" type="number" value="{$row.ticket_number|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chufadi_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chufadi_id" data-rule="required" data-source="chufadi/index" class="form-control selectpage" name="row[chufadi_id]" type="text" value="{$row.chufadi_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chufaname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chufaname" class="form-control" name="row[chufaname]" type="text" value="{$row.chufaname|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Longitude')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-longitude" class="form-control" name="row[longitude]" type="text" value="{$row.longitude|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Latitude')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-latitude" class="form-control" name="row[latitude]" type="text" value="{$row.latitude|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hexiao_no')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hexiao_no" class="form-control" name="row[hexiao_no]" type="text" value="{$row.hexiao_no|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hexiao_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="hexiaoStatusList" item="vo"}
- <label for="row[hexiao_status]-{$key}"><input id="row[hexiao_status]-{$key}" name="row[hexiao_status]" type="radio" value="{$key}" {in name="key" value="$row.hexiao_status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hexiao_uid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hexiao_uid" class="form-control" name="row[hexiao_uid]" type="number" value="{$row.hexiao_uid|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hexiao_coachid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hexiao_coachid" class="form-control" name="row[hexiao_coachid]" type="number" value="{$row.hexiao_coachid|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hexiao_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hexiao_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[hexiao_time]" type="text" value="{:$row.hexiao_time?datetime($row.hexiao_time):''}">
- </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>
|