From e28195596b54360767a50be97f7976d7f8004aa3 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 6 Apr 2017 15:08:47 -0400 Subject: "Add Wiki Page" page added.' --- Project-Unite/Views/Wiki/AddPage.cshtml | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Project-Unite/Views/Wiki/AddPage.cshtml (limited to 'Project-Unite/Views') diff --git a/Project-Unite/Views/Wiki/AddPage.cshtml b/Project-Unite/Views/Wiki/AddPage.cshtml new file mode 100644 index 0000000..ac7ab3b --- /dev/null +++ b/Project-Unite/Views/Wiki/AddPage.cshtml @@ -0,0 +1,37 @@ +@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" })
+} \ No newline at end of file -- cgit v1.2.3