edit.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  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">{:__('Type')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <select id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
  6. {foreach name="typeList" item="vo"}
  7. <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
  8. {/foreach}
  9. </select>
  10. </div>
  11. </div>-->
  12. <div class="form-group">
  13. <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
  14. <div class="col-xs-12 col-sm-8">
  15. <input id="c-title" data-rule="required" readonly class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
  16. </div>
  17. </div>
  18. <div class="form-group">
  19. <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
  20. <div class="col-xs-12 col-sm-8">
  21. <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content|htmlentities}</textarea>
  22. </div>
  23. </div>
  24. <div class="form-group layer-footer">
  25. <label class="control-label col-xs-12 col-sm-2"></label>
  26. <div class="col-xs-12 col-sm-8">
  27. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  28. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  29. </div>
  30. </div>
  31. </form>