|
123456789101112131415161718192021222324252627282930313233343536 |
- <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">{:__('Hotel_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hotel_name" data-rule="required" class="form-control" name="row[hotel_name]" type="text" value="{$row.hotel_name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Hotel_phone')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-hotel_phone" data-rule="required" class="form-control" name="row[hotel_phone]" type="text" value="{$row.hotel_phone|htmlentities}">
- </div>
- </div>
- <div class="form-group" data-toggle="cxselect" data-selects="province,city,area">
- <label class="control-label col-xs-12 col-sm-2">{:__('酒店所在区域')}:</label>
- <div class="col-xs-12 col-sm-8">
- <select class="province" name="row[province]" data-value="{$row.province|htmlentities}" data-url="ajax/area"></select>
- <select class="city" name="row[city]" data-value="{$row.city|htmlentities}" data-url="ajax/area"></select>
- <select class="area" name="row[area]" data-value="{$row.area|htmlentities}" data-url="ajax/area"></select>
- </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 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>
|