newone.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <form id="add-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">联系方式:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-mobile" data-rule="required" class="form-control" step="0.01" name="mobile" type="text">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">客户姓名:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-nickname" data-rule="required" class="form-control" step="0.01" name="nickname" type="text">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">车牌号:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-car_number" data-rule="required" class="form-control" step="0.01" name="car_number" type="text">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-address" class="form-control" name="address" type="text">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Comefrom')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <div class="radio">
  30. {foreach name="comefrom" item="vo"}
  31. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="comefrom" type="radio" value="{$vo}" /> {$vo}</label>
  32. {/foreach}
  33. </div>
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
  38. <div class="col-xs-12 col-sm-8">
  39. <input id="c-remark" class="form-control" name="remark" type="text">
  40. </div>
  41. </div>
  42. <div class="form-group layer-footer">
  43. <label class="control-label col-xs-12 col-sm-2"></label>
  44. <div class="col-xs-12 col-sm-8">
  45. <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
  46. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  47. </div>
  48. </div>
  49. </form>