edit.html 1.2 KB

123456789101112131415161718192021222324252627
  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" 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">{:__('Status')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <div class="radio">
  12. {foreach name="statusList" item="vo"}
  13. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  14. {/foreach}
  15. </div>
  16. </div>
  17. </div>
  18. <div class="form-group layer-footer">
  19. <label class="control-label col-xs-12 col-sm-2"></label>
  20. <div class="col-xs-12 col-sm-8">
  21. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  22. </div>
  23. </div>
  24. </form>