mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-23 01:32:16 +00:00
Add bodies to post panels.
This commit is contained in:
parent
0949277bd1
commit
1041eb760b
2 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
|
<div class="panel-body">
|
||||||
<p><strong>Posted on @post.PostedAt</strong>:</p>
|
<p><strong>Posted on @post.PostedAt</strong>:</p>
|
||||||
<p>@Html.Markdown(post.PostContents)</p>
|
<p>@Html.Markdown(post.PostContents)</p>
|
||||||
<ul class="nav nav-pills">
|
<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>
|
<li><a href="@dislikeLink"><span class="glyphicon glyphicon-thumbs-down"></span> @post.Dislikes.Length</a></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
@model Project_Unite.Models.UserPost
|
@model Project_Unite.Models.UserPost
|
||||||
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
|
<div class="panel-body">
|
||||||
@using (Html.BeginForm("PostContent", "Profiles"))
|
@using (Html.BeginForm("PostContent", "Profiles"))
|
||||||
{
|
{
|
||||||
@Html.AntiForgeryToken()
|
@Html.AntiForgeryToken()
|
||||||
|
@ -8,6 +9,7 @@
|
||||||
@Html.TextAreaFor(Model=>Model.PostContents, new {@class="form-control", rows="5"})
|
@Html.TextAreaFor(Model=>Model.PostContents, new {@class="form-control", rows="5"})
|
||||||
<input type="submit" class="btn btn-default" value="Post" />
|
<input type="submit" class="btn btn-default" value="Post" />
|
||||||
}
|
}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue