diff options
| author | Michael <[email protected]> | 2017-03-24 12:11:07 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-03-24 12:11:07 -0400 |
| commit | 1041eb760bb457f293d5be29880c5231815bfa34 (patch) | |
| tree | 9c4ee0bacbc08e8209fb7d4370abe1d3730db68e | |
| parent | 0949277bd1d87c5c4041f0474801c9ce4aa319bb (diff) | |
| download | project-unite-1041eb760bb457f293d5be29880c5231815bfa34.tar.gz project-unite-1041eb760bb457f293d5be29880c5231815bfa34.tar.bz2 project-unite-1041eb760bb457f293d5be29880c5231815bfa34.zip | |
Add bodies to post panels.
| -rw-r--r-- | Project-Unite/Views/Profiles/ViewProfile.cshtml | 2 | ||||
| -rw-r--r-- | Project-Unite/Views/Profiles/_NewPost.cshtml | 2 |
2 files changed, 4 insertions, 0 deletions
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 @@ { <div class="panel"> + <div class="panel-body"> <p><strong>Posted on @post.PostedAt</strong>:</p> <p>@Html.Markdown(post.PostContents)</p> <ul class="nav nav-pills"> @@ -63,6 +64,7 @@ <li><a href="@dislikeLink"><span class="glyphicon glyphicon-thumbs-down"></span> @post.Dislikes.Length</a></li> </ul> + </div> </div> } </div> 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 <div class="panel"> + <div class="panel-body"> @using (Html.BeginForm("PostContent", "Profiles")) { @Html.AntiForgeryToken() @@ -8,6 +9,7 @@ @Html.TextAreaFor(Model=>Model.PostContents, new {@class="form-control", rows="5"}) <input type="submit" class="btn btn-default" value="Post" /> } + </div> </div> |
