summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Contests/CreateContest.cshtml
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-20 20:42:40 -0400
committerMichael <[email protected]>2017-05-20 20:42:40 -0400
commitb4673afa8c2225b621e4aa668630fe17490f85e1 (patch)
treea1352b0149c38470af0fc55ea92a11f0596d3d0e /Project-Unite/Views/Contests/CreateContest.cshtml
parent364dff1fb6defbb4879b39b2c61b9eddac27cfb9 (diff)
downloadproject-unite-b4673afa8c2225b621e4aa668630fe17490f85e1.tar.gz
project-unite-b4673afa8c2225b621e4aa668630fe17490f85e1.tar.bz2
project-unite-b4673afa8c2225b621e4aa668630fe17490f85e1.zip
I win.
Diffstat (limited to 'Project-Unite/Views/Contests/CreateContest.cshtml')
-rw-r--r--Project-Unite/Views/Contests/CreateContest.cshtml6
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>