From cdc61eb4ea5309769ad4db84d92594e4dc3dff67 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 20 Mar 2017 16:45:17 -0400 Subject: Initial commit (azure deploy test) --- Project-Unite/Views/Admin/EditForum.cshtml | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Project-Unite/Views/Admin/EditForum.cshtml (limited to 'Project-Unite/Views/Admin/EditForum.cshtml') diff --git a/Project-Unite/Views/Admin/EditForum.cshtml b/Project-Unite/Views/Admin/EditForum.cshtml new file mode 100644 index 0000000..af22f81 --- /dev/null +++ b/Project-Unite/Views/Admin/EditForum.cshtml @@ -0,0 +1,51 @@ +@model Project_Unite.Models.AddForumCategoryViewModel +@{ + ViewBag.Title = "Edit " + Model.Name; +} + +

Add forum category

+ +
+ @if (ViewBag.Error != null) + { +

@ViewBag.Error

+ } +
+ +@using (Html.BeginForm(new { id = Model.Id })) +{ + @Html.AntiForgeryToken() + @Html.HiddenFor(Model => Model.Id) + @Html.HiddenFor(Model => Model.PossibleParents) + + + + + + + + + + + + + +
@Html.DisplayNameFor(Model => Model.Name)@Html.TextBoxFor(Model => Model.Name)
@Html.DisplayNameFor(Model => Model.Description)@Html.TextBoxFor(Model => Model.Description)
@Html.DisplayNameFor(Model => Model.Parent)@Html.DropDownListFor(Model => Model.Parent, Model.PossibleParents)
+ +

ACL rule definitions

+

Below you can specify what roles can see, reply or post to this category.

+
+ + + + + + + + +
Role nameCan see?Can reply?Can post?
+

ACL rules for this forum may be altered in the "Forum ACL Editor" page.

+ + + @Html.ActionLink("Cancel", "Forums", "Admin", null, new { @class = "btn btn-default" }) +} \ No newline at end of file -- cgit v1.2.3