From 34d659efbc7efdf23e276270007342a6e68a90bf Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 6 Apr 2017 13:56:05 -0400 Subject: Add wiki category view --- .../Views/Developer/AddWikiCategory.cshtml | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Project-Unite/Views/Developer/AddWikiCategory.cshtml (limited to 'Project-Unite/Views/Developer') diff --git a/Project-Unite/Views/Developer/AddWikiCategory.cshtml b/Project-Unite/Views/Developer/AddWikiCategory.cshtml new file mode 100644 index 0000000..6f188ad --- /dev/null +++ b/Project-Unite/Views/Developer/AddWikiCategory.cshtml @@ -0,0 +1,36 @@ +@model Project_Unite.Models.AddWikiCategoryViewModel +@{ + ViewBag.Title = "Add wiki category"; +} + +

Add wiki category

+ +

Please fill the form to add a new category.

+ +@using (Html.BeginForm()) +{ +
+
+ @Html.ValidationSummary() +
+
+ + + + + + + + + + + + + + +
Category name: + @Html.TextBoxFor(Model=>Model.Name, new { @class="form-control"}) +
Parent category: + @Html.DropDownListFor(Model => Model.ParentId, Model.Parents, new { @class = "form-control" }) +
+} \ No newline at end of file -- cgit v1.2.3