diff --git a/babyblotter/templates/babyblotter/form.html b/babyblotter/templates/babyblotter/form.html index 25dd5dfd..36e162f1 100644 --- a/babyblotter/templates/babyblotter/form.html +++ b/babyblotter/templates/babyblotter/form.html @@ -6,27 +6,44 @@ {% for field in form %}
{{ field|field_type }}
- {% if field|field_type == 'booleanfield' %} -
 
+ {% if field|field_type == "booleanfield" %} +
 
+ {% elif field|field_type == "datetimefield" or field|field_type == "datefield" %} + +
+
+
+
+ +
+ +
+
+
{% else %}
{% if field.errors %} - {{ field|add_class:'form-control is-invalid' }} + {{ field|add_class:"form-control is-invalid" }} {% else %} - {{ field|add_class:'form-control' }} + {{ field|add_class:"form-control" }} {% endif %}
{% endif %} diff --git a/core/templates/core/child_form.html b/core/templates/core/child_form.html index 560aaf9e..f1729f1c 100644 --- a/core/templates/core/child_form.html +++ b/core/templates/core/child_form.html @@ -20,7 +20,7 @@ {% block javascript %}