add.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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">{:__('Msg')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-msg" class="form-control" name="row[msg]" type="text" value="">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Datetime')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-datetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[datetime]" type="text" value="{:date('Y-m-d H:i:s')}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Sn')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-sn" class="form-control" name="row[sn]" type="text" value="">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-type" class="form-control" name="row[type]" type="text" value="">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Type_text')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-type_text" class="form-control" name="row[type_text]" type="text" value="">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Value')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-value" class="form-control" name="row[value]" type="text" value="">
  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-primary btn-embossed disabled">{:__('OK')}</button>
  42. </div>
  43. </div>
  44. </form>