edit.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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">{:__('Name')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-name" data-rule="required" disabled class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
  6. </div>
  7. </div>
  8. <!--<div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Type_id')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <select id="c-type_id" data-rule="required" disabled class="form-control selectpicker" name="row[type_id]">
  12. {foreach name="typeIdList" item="vo"}
  13. <option value="{$key}" {in name="key" value="$row.type_id"}selected{/in}>{$vo}</option>
  14. {/foreach}
  15. </select>
  16. </div>
  17. </div>-->
  18. <!--<div class="form-group">
  19. <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
  20. <div class="col-xs-12 col-sm-8">
  21. <div class="input-group">
  22. <input id="c-image" data-rule="required" disabled class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
  23. <div class="input-group-addon no-border no-padding">
  24. <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  25. <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  26. </div>
  27. <span class="msg-box n-right" for="c-image"></span>
  28. </div>
  29. <ul class="row list-inline faupload-preview" id="p-image"></ul>
  30. </div>
  31. </div>-->
  32. <!--<div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Android_url')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-android_url" class="form-control" disabled name="row[android_url]" type="text" value="{$row.android_url|htmlentities}">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('Ios_url')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <input id="c-ios_url" class="form-control" disabled name="row[ios_url]" type="text" value="{$row.ios_url|htmlentities}">
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="control-label col-xs-12 col-sm-2">{:__('Url_type')}:</label>
  46. <div class="col-xs-12 col-sm-8">
  47. <select id="c-url_type" disabled class="form-control selectpicker" name="row[url_type]">
  48. {foreach name="urlTypeList" item="vo"}
  49. <option value="{$key}" {in name="key" value="$row.url_type"}selected{/in}>{$vo}</option>
  50. {/foreach}
  51. </select>
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
  56. <div class="col-xs-12 col-sm-8">
  57. <input id="c-number" class="form-control" disabled name="row[number]" type="number" value="{$row.number|htmlentities}">
  58. </div>
  59. </div>-->
  60. <div class="form-group">
  61. <label class="control-label col-xs-12 col-sm-2">{:__('Exp')}:</label>
  62. <div class="col-xs-12 col-sm-8">
  63. <input id="c-exp" data-rule="required" class="form-control" name="row[exp]" type="number" value="{$row.exp|htmlentities}">
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Is_show')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <select id="c-is_show" data-rule="required" class="form-control selectpicker" name="row[is_show]">
  70. {foreach name="isShowList" item="vo"}
  71. <option value="{$key}" {in name="key" value="$row.is_show"}selected{/in}>{$vo}</option>
  72. {/foreach}
  73. </select>
  74. </div>
  75. </div>
  76. <div class="form-group layer-footer">
  77. <label class="control-label col-xs-12 col-sm-2"></label>
  78. <div class="col-xs-12 col-sm-8">
  79. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  80. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  81. </div>
  82. </div>
  83. </form>