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

<div class="panel">
    @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>