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/Forum/EditPost.cshtml | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Project-Unite/Views/Forum/EditPost.cshtml (limited to 'Project-Unite/Views/Forum/EditPost.cshtml') diff --git a/Project-Unite/Views/Forum/EditPost.cshtml b/Project-Unite/Views/Forum/EditPost.cshtml new file mode 100644 index 0000000..ea02f6f --- /dev/null +++ b/Project-Unite/Views/Forum/EditPost.cshtml @@ -0,0 +1,37 @@ +@model Project_Unite.Models.EditPostViewModel +@{ + ViewBag.Title = "Edit post"; +} + +

Edit post

+ +@using (Html.BeginForm()) +{ + @Html.AntiForgeryToken() + @Html.HiddenFor(Model=>Model.Id) + + + + + + + + + + + + + +
+

Body:

+

Make your edits to the post in this field. CommonMark-compliant Markdown is supported.

+
+ @Html.TextAreaFor(Model=>Model.Contents, new { rows = "10", @class="form-control" }) +
+

Edit reason:

+

Why did you edit the post? This reason is displayed in the Moderator Control Panel as well as at the bottom of the post.

+
+ @Html.TextBoxFor(Model => Model.EditReason, new { @class = "form-control" }) +
+} + -- cgit v1.2.3