edit.html 1.4 KB

12345678910111213141516171819202122232425262728
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="row[mode]" value="textarea" />
  3. <div class="form-group">
  4. <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name}">
  7. </div>
  8. </div>
  9. <div class="form-group">
  10. <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
  11. <div class="col-xs-12 col-sm-8">
  12. <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title}">
  13. </div>
  14. </div>
  15. <div class="form-group">
  16. <label for="c-value" class="control-label col-xs-12 col-sm-2">{:__('Value')}:</label>
  17. <div class="col-xs-12 col-sm-8">
  18. <textarea id="c-value" class="form-control " rows="15" name="row[value]">{$row.value}</textarea>
  19. </div>
  20. </div>
  21. <div class="form-group hide layer-footer">
  22. <label class="control-label col-xs-12 col-sm-2"></label>
  23. <div class="col-xs-12 col-sm-8">
  24. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  25. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  26. </div>
  27. </div>
  28. </form>