summaryrefslogtreecommitdiff
path: root/Project-Unite
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-20 20:10:42 -0400
committerMichael <[email protected]>2017-05-20 20:10:42 -0400
commit3aab388ce1b3fdbe6d97102fed11acd4baf0458c (patch)
treead37da1ca58692864cacc7cd25cb2458bdfa46a1 /Project-Unite
parente37b3223dbcd7957bbe113c5cb9a5698205fb722 (diff)
downloadproject-unite-3aab388ce1b3fdbe6d97102fed11acd4baf0458c.tar.gz
project-unite-3aab388ce1b3fdbe6d97102fed11acd4baf0458c.tar.bz2
project-unite-3aab388ce1b3fdbe6d97102fed11acd4baf0458c.zip
fix createcontest a bit
Diffstat (limited to 'Project-Unite')
-rw-r--r--Project-Unite/Views/Contests/CreateContest.cshtml8
1 files 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 @@
<dd>@Html.TextAreaFor(Model => Model.Description, new { @class = "form-control" })</dd>
<dt>Video ID:</dt>
<dd>If you have posted a YouTube video for this contest, paste its ID here. @Html.TextBoxFor(Model => Model.VideoId, new { @class = "form-control" })</dd>
+ <dt>End date:</dt>
+ <dd>@Html.EditorFor(Model=>Model.EndDate, new { id = "enddate" })</dd>
<dt>Gold reward:</dt>
- <dd>@Html.EditorFor(Model => Model.GoldReward, new { @class = "form-control" })</dd>
+ <dd>@Html.TextBoxFor(Model => Model.GoldReward, new { @class = "form-control" })</dd>
<dt>Silver reward:</dt>
- <dd>@Html.EditorFor(Model => Model.SilverReward, new { @class = "form-control" })</dd>
+ <dd>@Html.TextBoxFor(Model => Model.SilverReward, new { @class = "form-control" })</dd>
<dt>Bronze reward:</dt>
- <dd>@Html.EditorFor(Model => Model.BronzeReward, new { @class = "form-control" })</dd>
+ <dd>@Html.TextBoxFor(Model => Model.BronzeReward, new { @class = "form-control" })</dd>
</dl>
<hr/>