diff options
Diffstat (limited to 'Project-Unite/Views/Profiles')
| -rw-r--r-- | Project-Unite/Views/Profiles/_NewPost.cshtml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Project-Unite/Views/Profiles/_NewPost.cshtml b/Project-Unite/Views/Profiles/_NewPost.cshtml new file mode 100644 index 0000000..d1ff6be --- /dev/null +++ b/Project-Unite/Views/Profiles/_NewPost.cshtml @@ -0,0 +1,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> + + + |
