Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. @model MicroIMDBV2.Models.Movie
  2. @{
  3. ViewBag.Title = "Add";
  4. }
  5. @using (Html.BeginForm("Add", "Movie", FormMethod.Post, new { @class = "form-horizontal" }))
  6. {
  7. <h2>Add Movie</h2>
  8. <div class="form-group">
  9. @Html.LabelFor(m => m.Title, new { @class = "col-md-2 control-label" })
  10. <div class="col-md-10"> @Html.TextBoxFor(m => m.Title2, new { @class = "form-control" }) </div>
  11. </div>
  12. <div class="form-group">
  13. @Html.LabelFor(m => m.Year, new { @class = "col-md-2 control-label" })
  14. <div class="col-md-10"> @Html.TextBoxFor(m => m.Year, new { @class = "form-control" }) </div>
  15. </div>
  16. <div class="form-group">
  17. <div class="col-md-offset-2 col-md-10"> <input type="submit" class="btn btn-default" value="Add Movie" /> </div>
  18. </div>
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement