diff --git a/RIGS/templates/RIGS/event_form.html b/RIGS/templates/RIGS/event_form.html index b2b4dcd7..cbcaf83f 100644 --- a/RIGS/templates/RIGS/event_form.html +++ b/RIGS/templates/RIGS/event_form.html @@ -5,21 +5,8 @@ {% block title %}{% if object.pk %}Event {% if object.is_rig %}N{{ object.pk|stringformat:"05d" }}{% else %} {{ object.pk }}{% endif %}{% else %}New Event{% endif %}{% endblock %} -{% block css %} - - -{% endblock %} - -{% block preload_js %} - - -{% endblock %} - {% block js %} - - - @@ -76,7 +63,7 @@ var input = document.createElement('input'); input.setAttribute('type','date'); var notADateValue = 'not-a-date'; - input.setAttribute('value', notADateValue); + input.setAttribute('value', notADateValue); return !(input.value === notADateValue); } if(supportsDate()){ @@ -360,7 +347,7 @@ {% render_field form.status class+="form-control" %} - +