12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <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">{:__('Road_start')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-road_start" class="form-control" name="row[road_start]" type="text" value="{$row.road_start|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Road_end')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-road_end" class="form-control" name="row[road_end]" type="text" value="{$row.road_end|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Dayincome')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-dayincome" class="form-control" step="0.01" name="row[dayincome]" type="number" value="{$row.dayincome|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Power_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-power_price" class="form-control" step="0.01" name="row[power_price]" type="number" value="{$row.power_price|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Driver_price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-driver_price" class="form-control" step="0.01" name="row[driver_price]" type="number" value="{$row.driver_price|htmlentities}">
- </div>
- </div>
- <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">{:__('Starttime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-starttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[starttime]" type="text" value="{:$row.starttime?datetime($row.starttime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-endtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{:$row.endtime?datetime($row.endtime):''}">
- </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>
|