diff --git a/mixins/templates/mixins/window-content/object-form.html b/mixins/templates/mixins/window-content/object-form.html index e1e8006..21b02e7 100644 --- a/mixins/templates/mixins/window-content/object-form.html +++ b/mixins/templates/mixins/window-content/object-form.html @@ -1,32 +1,26 @@ -{% load cache %} +{% include 'mixins/partials/notify.html' %} +{% if page_title is not None %} +

{{ page_title }}

+{% endif %} +{% if page_subtitle is not None %} +

{{ page_subtitle }}

+{% endif %} +{% load crispy_forms_tags %} -{% cache 600 object_form request.user.id form %} - - {% include 'mixins/partials/notify.html' %} - {% if page_title is not None %} -

{{ page_title }}

- {% endif %} - {% if page_subtitle is not None %} -

{{ page_subtitle }}

+{% load crispy_forms_bulma_field %} +
+ {% csrf_token %} + {{ form|crispy }} + {% if hide_cancel is not True %} + {% endif %} - {% load crispy_forms_tags %} - - {% load crispy_forms_bulma_field %} - - {% csrf_token %} - {{ form|crispy }} - {% if hide_cancel is not True %} - - {% endif %} - -
- -{% endcache %} \ No newline at end of file + +