edit.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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">{:__('收货人姓名')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-address_name" class="form-control" name="row[address_name]" type="text" value="{$row.address_name|htmlentities}">
  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-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
  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-id_no" class="form-control" name="row[id_no]" type="text" value="{$row.id_no|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('联系电话')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-phone" class="form-control" name="row[phone]" type="text" value="{$row.phone|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('地址')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <div class='control-relative'><input id="c-city" class="form-control" data-toggle="city-picker" name="row[city]" type="text" value="{$row.city|htmlentities}"></div>
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('详细地址')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-address" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
  36. </div>
  37. </div>
  38. <div class="form-group layer-footer">
  39. <label class="control-label col-xs-12 col-sm-2"></label>
  40. <div class="col-xs-12 col-sm-8">
  41. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  42. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  43. </div>
  44. </div>
  45. </form>