Commit 38b61ca1 authored by Matthew Rodgers's avatar Matthew Rodgers Committed by David Haynes
Browse files

--Added JQuery to show DateTimePicker only when Custom Date is chosen.

parent 7fe38725
......@@ -5,8 +5,20 @@
Go - A University Branded URL Shortener
{% endblock %}
{% block content %}
<script type="text/javascript">
$(function() {
$("#div_id_expires_custom").hide();
$("#div_id_expires").click(function() {
if ($("#id_expires_5").is(":checked")) {
$("#div_id_expires_custom").show();
} else {
$("#div_id_expires_custom").hide();
}
})
})
</script>
<div class="page-header" id="banner">
<div class="row">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment