From 3aab388ce1b3fdbe6d97102fed11acd4baf0458c Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 20 May 2017 20:10:42 -0400 Subject: [PATCH] fix createcontest a bit --- Project-Unite/Views/Contests/CreateContest.cshtml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Project-Unite/Views/Contests/CreateContest.cshtml b/Project-Unite/Views/Contests/CreateContest.cshtml index e134312..62a2677 100644 --- a/Project-Unite/Views/Contests/CreateContest.cshtml +++ b/Project-Unite/Views/Contests/CreateContest.cshtml @@ -25,12 +25,14 @@
@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" })
+
End date:
+
@Html.EditorFor(Model=>Model.EndDate, new { id = "enddate" })
Gold reward:
-
@Html.EditorFor(Model => Model.GoldReward, new { @class = "form-control" })
+
@Html.TextBoxFor(Model => Model.GoldReward, new { @class = "form-control" })
Silver reward:
-
@Html.EditorFor(Model => Model.SilverReward, new { @class = "form-control" })
+
@Html.TextBoxFor(Model => Model.SilverReward, new { @class = "form-control" })
Bronze reward:
-
@Html.EditorFor(Model => Model.BronzeReward, new { @class = "form-control" })
+
@Html.TextBoxFor(Model => Model.BronzeReward, new { @class = "form-control" })