summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Manage/UploadAvatar.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'Project-Unite/Views/Manage/UploadAvatar.cshtml')
-rw-r--r--Project-Unite/Views/Manage/UploadAvatar.cshtml16
1 files changed, 16 insertions, 0 deletions
diff --git a/Project-Unite/Views/Manage/UploadAvatar.cshtml b/Project-Unite/Views/Manage/UploadAvatar.cshtml
new file mode 100644
index 0000000..81e40c4
--- /dev/null
+++ b/Project-Unite/Views/Manage/UploadAvatar.cshtml
@@ -0,0 +1,16 @@
+@model Project_Unite.Models.UploadImageViewModel
+@{
+ ViewBag.Title = "Upload avatar";
+}
+
+<h2>Upload an avatar</h2>
+
+<p>Let's put a face on your profile, shall we? Upload an image from your local computer and we'll display it as your avatar.</p>
+
+@using (Html.BeginForm())
+{
+ @Html.AntiForgeryToken()
+ @Html.ValidationSummary()
+ <p><strong>File to upload: </strong>@Html.TextBoxFor(Model=>Model.Image, new { @class = "form-control", type = "file" })</p>
+ <input type="submit" class="form-control" value="Upload!" />
+} \ No newline at end of file