12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <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">{:__('Car_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-car_id" data-rule="required" data-source="car/index" data-field="chepaihao" class="form-control selectpage" name="row[car_id]" type="text" value="{$row.car_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Fix_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-fix_name" class="form-control" name="row[fix_name]" type="text" value="{$row.fix_name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Fix_info')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-fix_info" class="form-control" name="row[fix_info]" type="text" value="{$row.fix_info|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Fix_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-fix_price" class="form-control" step="0.01" name="row[fix_price]" type="number" value="{$row.fix_price|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Coach_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-coach_id" data-rule="required" data-source="coach/index" data-field="nickname" data-format-item="{nickname}-{mobile}" class="form-control selectpage" name="row[coach_id]" type="text" value="{$row.coach_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Addtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-addtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[addtime]" type="text" value="{:$row.addtime?datetime($row.addtime):''}">
- </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>
|