diff options
| author | Michael <[email protected]> | 2017-05-20 20:10:42 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-05-20 20:10:42 -0400 |
| commit | 3aab388ce1b3fdbe6d97102fed11acd4baf0458c (patch) | |
| tree | ad37da1ca58692864cacc7cd25cb2458bdfa46a1 | |
| parent | e37b3223dbcd7957bbe113c5cb9a5698205fb722 (diff) | |
| download | project-unite-3aab388ce1b3fdbe6d97102fed11acd4baf0458c.tar.gz project-unite-3aab388ce1b3fdbe6d97102fed11acd4baf0458c.tar.bz2 project-unite-3aab388ce1b3fdbe6d97102fed11acd4baf0458c.zip | |
fix createcontest a bit
| -rw-r--r-- | Project-Unite/Views/Contests/CreateContest.cshtml | 8 |
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/> |
