Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model namespace.SectorViewModel
- <!-- ko with: sectorcreate -->
- <div class="six wide column">
- <div class="ui segments">
- <div class="ui segment">
- <h4 class="ui center aligned header">Create New Sector</h4>
- </div>
- <div class="ui secondary segment">
- <form id="entity-create-form" class="ui form" action="#/sectorcreatepost" method="post" data-bind="submit: createEntity">
- <!-- I am not sure if I should include AntiForgeryToken for WebAPI call -->
- <!-- Html.AntiForgeryToken() -->
- <fieldset>
- <div class="field required">
- @Html.LabelFor(m => m.Name)
- @Html.TextBoxFor(m => m.Name, new { data_bind = "value: name" })
- </div>
- <div class="ui two buttons">
- <button class="ui positive button" type="submit">Create</button>
- <button class="ui button" type="button" id="operation-cancel">Cancel</button>
- </div>
- </fieldset>
- </form>
- </div>
- </div>
- </div>
- <!-- /ko -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement