summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Profiles/_NewPost.cshtml
blob: 3188f94d94fb3f6bcddb762268c88c2f2e4a405b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@model Project_Unite.Models.UserPost

<div class="panel">
    <div class="panel-body">
    @using (Html.BeginForm("PostContent", "Profiles"))
    {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary();
        @Html.TextAreaFor(Model=>Model.PostContents, new {@class="form-control", rows="5"})
        <input type="submit" class="btn btn-default" value="Post" />
    }
        </div>
</div>