|
- <form id="add-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">{:__('Hotel_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hotel_id" data-rule="required" data-source="cf_hotel_info/getHotelList" class="form-control selectpage" name="row[hotel_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Room_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-room_id" data-rule="required" data-source="cf_room_info/getList" class="form-control selectpage" name="row[room_id]" type="text" value="">
-
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Plan_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-plan_name" data-rule="required" class="form-control" name="row[plan_name]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Breakfast_num')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-breakfast_num" data-rule="required" class="form-control" name="row[breakfast_num]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Book_end_day')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-book_end_day" data-rule="required" class="form-control" name="row[book_end_day]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Book_end_hour')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-book_end_hour" data-rule="required" class="form-control" name="row[book_end_hour]" type="number">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Continuity_type')}:</label>
- <div class="col-xs-12 col-sm-8">
- {:Form::radios('row[continuity_type]', $continuity_type,0 , ['data-rule'=>'required'])}
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Coutinuity_day')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-coutinuity_day" data-rule="required" class="form-control" name="row[coutinuity_day]" type="number">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Plan_memo')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-plan_memo" data-rule="required" class="form-control" name="row[plan_memo]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Charge_person')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-purchase_user_id" data-rule="required" data-source="auth/admin/getList" class="form-control selectpage" name="row[purchase_user_id]" type="text" value="">
- </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>
|