From 4b2df9841a0cfd7e5630162d81c4c8369cf3ba0a Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 5 Feb 2018 09:22:00 -0600 Subject: moved most of my admin customizations into javascript to avoid customizing admin files --- .../admin/photos/luximage/change_form.html | 135 --------------------- 1 file changed, 135 deletions(-) delete mode 100644 design/templates/admin/photos/luximage/change_form.html (limited to 'design/templates/admin/photos/luximage') diff --git a/design/templates/admin/photos/luximage/change_form.html b/design/templates/admin/photos/luximage/change_form.html deleted file mode 100644 index a6222af..0000000 --- a/design/templates/admin/photos/luximage/change_form.html +++ /dev/null @@ -1,135 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load get_image_by_size %} -{% load i18n admin_urls admin_static admin_modify %} - -{% block extrahead %}{{ block.super }} - -{{ media }} -{% endblock %} - -{% block extrastyle %}{{ block.super }}{% endblock %} - -{% block coltype %}colM{% endblock %} - -{% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} change-form{% endblock %} - -{% if not is_popup %} -{% block breadcrumbs %} - -{% endblock %} -{% endif %} - -{% block content %}
-{% block object-tools %} -{% if change %}{% if not is_popup %} - -{% endif %}{% endif %} -{% endblock %} - -
{% csrf_token %}{% block form_top %}{% endblock %} -
-{% if is_popup %}{% endif %} -{% if to_field %}{% endif %} -{% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %} -{% if errors %} -

- {% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %} -

- {{ adminform.form.non_field_errors }} -{% endif %} - -{% block field_sets %} - -
-
- -

-
-
- -{% for fieldset in adminform %} - {% include "admin/includes/fieldset.html" %} -{% endfor %} -{% endblock %} - -{% block after_field_sets %}{% endblock %} - -{% block inline_field_sets %} -{% for inline_admin_formset in inline_admin_formsets %} - {% include inline_admin_formset.opts.template %} -{% endfor %} -{% endblock %} - -{% block after_related_objects %}{% endblock %} - -{% block submit_buttons_bottom %}{% submit_row %}{% endblock %} - -{% block admin_change_form_document_ready %} - -{% endblock %} - -{# JavaScript for prepopulated fields #} -{% prepopulated_fields_js %} - -
-
-{% endblock %} -- cgit v1.2.3-70-g09d2