@model Project_Unite.Models.AddWikiPageViewModel @{ ViewBag.Title = "Add new page"; }

Add new page

Want to contribute to the wiki and add a new page? Awesome. We'll get the page up - just fill in this form.

@using (Html.BeginForm()) { @Html.AntiForgeryToken()
@Html.ValidationSummary()
Page title: @Html.TextBoxFor(Model => Model.Name, new{@class="form-control"})
Category: @Html.DropDownListFor(Model => Model.ParentId, Model.Parents, new { @class = "form-control" })
Page contents: @Html.TextAreaFor(Model => Model.Content, new { @rows = "10", @class = "form-control" })
}