summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Profile
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-23 19:16:46 -0400
committerMichael <[email protected]>2017-03-23 19:16:46 -0400
commit966ad0c588d6de48de444a1488530159a55c39e1 (patch)
tree5380df388af225e2e0f71b29cc62e17e37ef06c7 /Project-Unite/Views/Profile
parent2dcb12403b1f9b6d5a2625e604c78caac8c17dbf (diff)
downloadproject-unite-966ad0c588d6de48de444a1488530159a55c39e1.tar.gz
project-unite-966ad0c588d6de48de444a1488530159a55c39e1.tar.bz2
project-unite-966ad0c588d6de48de444a1488530159a55c39e1.zip
User posting front-end
Diffstat (limited to 'Project-Unite/Views/Profile')
-rw-r--r--Project-Unite/Views/Profile/_NewPost.cshtml14
1 files changed, 14 insertions, 0 deletions
diff --git a/Project-Unite/Views/Profile/_NewPost.cshtml b/Project-Unite/Views/Profile/_NewPost.cshtml
new file mode 100644
index 0000000..d1ff6be
--- /dev/null
+++ b/Project-Unite/Views/Profile/_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>
+
+
+