diff options
| author | Michael <[email protected]> | 2017-05-20 20:42:40 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-05-20 20:42:40 -0400 |
| commit | b4673afa8c2225b621e4aa668630fe17490f85e1 (patch) | |
| tree | a1352b0149c38470af0fc55ea92a11f0596d3d0e /Project-Unite/Views/Contests | |
| parent | 364dff1fb6defbb4879b39b2c61b9eddac27cfb9 (diff) | |
| download | project-unite-b4673afa8c2225b621e4aa668630fe17490f85e1.tar.gz project-unite-b4673afa8c2225b621e4aa668630fe17490f85e1.tar.bz2 project-unite-b4673afa8c2225b621e4aa668630fe17490f85e1.zip | |
I win.
Diffstat (limited to 'Project-Unite/Views/Contests')
| -rw-r--r-- | Project-Unite/Views/Contests/CreateContest.cshtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Project-Unite/Views/Contests/CreateContest.cshtml b/Project-Unite/Views/Contests/CreateContest.cshtml index 57e0bce..19e72ff 100644 --- a/Project-Unite/Views/Contests/CreateContest.cshtml +++ b/Project-Unite/Views/Contests/CreateContest.cshtml @@ -12,8 +12,8 @@ crossorigin="anonymous"></script> <script> $(document).ready(function () { - alert('not xss'); - $('#enddate').datepicker(); + jquery.datetimepicker.setLocale("en"); + }); </script> @@ -29,7 +29,7 @@ <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.TextBoxFor(Model=>Model.EndDate, new { id = "enddate", @class="form-control" })</dd> + <dd>@Html.TextBoxFor(Model=>Model.EndDate, new { id = "datetimepicker", @class="form-control" })</dd> <dt>Gold reward:</dt> <dd>@Html.TextBoxFor(Model => Model.GoldReward, new { @class = "form-control" })</dd> <dt>Silver reward:</dt> |
