酒店预订平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
2.1 KiB

  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('Hotel_name')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-hotel_name" data-rule="required" class="form-control" name="row[hotel_name]" type="text" value="{$row.hotel_name|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Hotel_phone')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-hotel_phone" data-rule="required" class="form-control" name="row[hotel_phone]" type="text" value="{$row.hotel_phone|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group" data-toggle="cxselect" data-selects="province,city,area">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('酒店所在区域')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <select class="province" name="row[province]" data-value="{$row.province|htmlentities}" data-url="ajax/area"></select>
  18. <select class="city" name="row[city]" data-value="{$row.city|htmlentities}" data-url="ajax/area"></select>
  19. <select class="area" name="row[area]" data-value="{$row.area|htmlentities}" data-url="ajax/area"></select>
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <label class="control-label col-xs-12 col-sm-2">{:__('Detail_address')}:</label>
  24. <div class="col-xs-12 col-sm-8">
  25. <input id="c-detail_address" data-rule="required" class="form-control" name="row[detail_address]" type="text" value="{$row.detail_address|htmlentities}">
  26. </div>
  27. </div>
  28. <div class="form-group layer-footer">
  29. <label class="control-label col-xs-12 col-sm-2"></label>
  30. <div class="col-xs-12 col-sm-8">
  31. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  32. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  33. </div>
  34. </div>
  35. </form>