From b3e784410dfc2103e099eea2a0252ee9fc8cea91 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 23 Mar 2017 19:21:10 -0400 Subject: hmm. --- Project-Unite/Project-Unite.csproj | 3 +-- Project-Unite/Views/Profile/ViewProfile.cshtml | 1 - Project-Unite/Views/Profile/_NewPost.cshtml | 14 -------------- Project-Unite/Views/Profiles/_NewPost.cshtml | 14 ++++++++++++++ 4 files changed, 15 insertions(+), 17 deletions(-) delete mode 100644 Project-Unite/Views/Profile/ViewProfile.cshtml delete mode 100644 Project-Unite/Views/Profile/_NewPost.cshtml create mode 100644 Project-Unite/Views/Profiles/_NewPost.cshtml diff --git a/Project-Unite/Project-Unite.csproj b/Project-Unite/Project-Unite.csproj index 8cdd931..5284ef2 100644 --- a/Project-Unite/Project-Unite.csproj +++ b/Project-Unite/Project-Unite.csproj @@ -507,8 +507,7 @@ - - + diff --git a/Project-Unite/Views/Profile/ViewProfile.cshtml b/Project-Unite/Views/Profile/ViewProfile.cshtml deleted file mode 100644 index 0f1cba3..0000000 --- a/Project-Unite/Views/Profile/ViewProfile.cshtml +++ /dev/null @@ -1 +0,0 @@ -This is/will be the view profile page. its not done yet \ No newline at end of file diff --git a/Project-Unite/Views/Profile/_NewPost.cshtml b/Project-Unite/Views/Profile/_NewPost.cshtml deleted file mode 100644 index d1ff6be..0000000 --- a/Project-Unite/Views/Profile/_NewPost.cshtml +++ /dev/null @@ -1,14 +0,0 @@ -@model Project_Unite.Models.UserPost - -
- @using (Html.BeginForm("PostContent", "Profiles")) - { - @Html.AntiForgeryToken() - @Html.ValidationSummary(); - @Html.TextAreaFor(Model=>Model.PostContents, new {@class="form-control", rows="5"}) - - } -
- - - 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 + +
+ @using (Html.BeginForm("PostContent", "Profiles")) + { + @Html.AntiForgeryToken() + @Html.ValidationSummary(); + @Html.TextAreaFor(Model=>Model.PostContents, new {@class="form-control", rows="5"}) + + } +
+ + + -- cgit v1.2.3