summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-17 19:29:30 -0400
committerMichael <[email protected]>2017-05-17 19:29:30 -0400
commitc9d5c86c523aa9af8362077b82ede659ec884b22 (patch)
treeecfcdf098df9a61308e6a2a9905a8db402d55a76
parenteb2d8a1e2c635fadb62cec5fc28991387c4de64e (diff)
downloadproject-unite-c9d5c86c523aa9af8362077b82ede659ec884b22.tar.gz
project-unite-c9d5c86c523aa9af8362077b82ede659ec884b22.tar.bz2
project-unite-c9d5c86c523aa9af8362077b82ede659ec884b22.zip
display name and fullname
-rw-r--r--Project-Unite/Views/Manage/Index.cshtml15
1 files changed, 14 insertions, 1 deletions
diff --git a/Project-Unite/Views/Manage/Index.cshtml b/Project-Unite/Views/Manage/Index.cshtml
index a40be96..4e32df9 100644
--- a/Project-Unite/Views/Manage/Index.cshtml
+++ b/Project-Unite/Views/Manage/Index.cshtml
@@ -24,9 +24,22 @@
<div class="col-xs-8">
<div class="tab-content">
<div class="tab-pane fade in active" id="#t_profile">
- <h4>Profile settings</h4>
+ <h2>Profile settings</h2>
<p>Edit your public profile here.</p>
+
+ @using(Html.BeginForm("ProfilePostback", "Manage"))
+ {
+ <h4>Display Name</h4>
+ <p>Your Display Name is what everyone sees you as on the website. This field is required.</p>
+ @Html.TextBoxFor(Model=>Model.DisplayName, new { @class="form-control"})
+
+ <h4>Full name</h4>
+ <p>On your profile page, you can optionally set a full name to display along with the above display name.</p>
+ @Html.TextBoxFor(Model => Model.FullName, new { @class = "form-control" })
+
+ <input type="submit" value="Update" class="btn btn-primary" />
+ }
</div>
</div>
</div>