From 1041eb760bb457f293d5be29880c5231815bfa34 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 24 Mar 2017 12:11:07 -0400 Subject: [PATCH] Add bodies to post panels. --- Project-Unite/Views/Profiles/ViewProfile.cshtml | 2 ++ Project-Unite/Views/Profiles/_NewPost.cshtml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Project-Unite/Views/Profiles/ViewProfile.cshtml b/Project-Unite/Views/Profiles/ViewProfile.cshtml index b5ed038..2c2b942 100644 --- a/Project-Unite/Views/Profiles/ViewProfile.cshtml +++ b/Project-Unite/Views/Profiles/ViewProfile.cshtml @@ -47,6 +47,7 @@ {
+

Posted on @post.PostedAt:

@Html.Markdown(post.PostContents)

+
} diff --git a/Project-Unite/Views/Profiles/_NewPost.cshtml b/Project-Unite/Views/Profiles/_NewPost.cshtml index d1ff6be..3188f94 100644 --- a/Project-Unite/Views/Profiles/_NewPost.cshtml +++ b/Project-Unite/Views/Profiles/_NewPost.cshtml @@ -1,6 +1,7 @@ @model Project_Unite.Models.UserPost
+
@using (Html.BeginForm("PostContent", "Profiles")) { @Html.AntiForgeryToken() @@ -8,6 +9,7 @@ @Html.TextAreaFor(Model=>Model.PostContents, new {@class="form-control", rows="5"}) } +