From e37b3223dbcd7957bbe113c5cb9a5698205fb722 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 20 May 2017 20:06:42 -0400 Subject: create contest page --- Project-Unite/Views/Contests/CreateContest.cshtml | 38 +++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Project-Unite/Views/Contests/CreateContest.cshtml (limited to 'Project-Unite/Views/Contests/CreateContest.cshtml') diff --git a/Project-Unite/Views/Contests/CreateContest.cshtml b/Project-Unite/Views/Contests/CreateContest.cshtml new file mode 100644 index 0000000..e134312 --- /dev/null +++ b/Project-Unite/Views/Contests/CreateContest.cshtml @@ -0,0 +1,38 @@ +@model Project_Unite.Models.CreateContestViewModel + +@{ + ViewBag.Title = "Create contest"; +} + +

Create contest

+ +

This page will let you create a ShiftOS community contest.

+ + + +@using (Html.BeginForm()) +{ + @Html.AntiForgeryToken() + +
+
Contest name:
+
@Html.TextBoxFor(Model=>Model.Name, new { @class = "form-control" })
+
Contest description
+
@Html.TextAreaFor(Model => Model.Description, new { @class = "form-control" })
+
Video ID:
+
If you have posted a YouTube video for this contest, paste its ID here. @Html.TextBoxFor(Model => Model.VideoId, new { @class = "form-control" })
+
Gold reward:
+
@Html.EditorFor(Model => Model.GoldReward, new { @class = "form-control" })
+
Silver reward:
+
@Html.EditorFor(Model => Model.SilverReward, new { @class = "form-control" })
+
Bronze reward:
+
@Html.EditorFor(Model => Model.BronzeReward, new { @class = "form-control" })
+
+ +
+ +} \ No newline at end of file -- cgit v1.2.3