You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 line
902B

  1. <h2>Create Settings</h2>
  2. <%= HTML.FormTag("Settings", "CreatePost", empty, empty) %>
  3. <%= HTML.Hidden("nonce", HTMLSecurity.GetAntiCSRFToken("SettingsCreateForm")) %>
  4. <hr />
  5. <div class="form-group">
  6. <div class="row">
  7. <div class="col-md-4">
  8. <div class="form-group">
  9. <label for="Name">Name</label>
  10. <%= HTML.TextboxExt("Name", Model.Name, Array("class", "form-control")) %>
  11. </div>
  12. </div>
  13. </div>
  14. <div class="row">
  15. <div class="col-md-4">
  16. <div class="form-group">
  17. <label for="Value">Value</label>
  18. <%= HTML.TextboxExt("Value", Model.Value, Array("class", "form-control")) %>
  19. </div>
  20. </div>
  21. </div>
  22. <%= HTML.Button("submit", "<i class='glyphicon glyphicon-ok'></i> Create", "btn-primary") %>
  23. &nbsp;&nbsp;
  24. <%= HTML.LinkToExt("<i class='glyphicon glyphicon-remove'></i> Cancel", "Settings", "Index", empty, Array("class", "btn btn-default")) %>
  25. </div>
  26. </form>

Powered by TurnKey Linux.