{% extends "admin/base_site.html" %} {% load i18n admin_modify config_tags static %} {% load url from future %} {% block stylesheet %}{% static "admin/css/forms.css" %}{% endblock %} {% block extrahead %} {% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block coltype %}colMS{% endblock %} {% block bodyclass %}dashboard{% endblock %} {% block userlinks %}{% trans 'Documentation' %} / {% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %} {% block breadcrumbs %}{% if not is_popup %} {% endif %}{% endblock %} {% block content %} {% comment %}
{% endcomment %}
{% if not use_db %}

{% trans "Livesettings are disabled for this site." %}

{% trans "All configuration options must be edited in the site settings.py file" %}

{% admin_site_views 'satchmo_site_settings' %} {% else %} {% if form.errors %}

{% blocktrans count form.errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

{% endif %} {% if form.fields %}
{% for field in form %} {% if field.is_hidden %} {{ field }} {% else %} {% ifchanged field.field.group %}{% with field.field.group as group %} {% if not forloop.first %} {% endif %}

{{ group.name }}

{% endwith %}{% endifchanged %} {% if field.errors %} {% endif %} {% endif %} {% endfor %}
{{ field.errors }}
{{ field.label_tag }} {% if field.help_text %}

{{ field.help_text|break_at:40|safe }}

{% endif %} {% if field.field.default_text %}

{{ field.field.default_text|break_at:40}}

{% endif %}
{{ field }}
{% admin_site_views 'satchmo_site_settings' %}

{% trans 'Uncollapse all' %}

Export

{% else %}

{% trans "You don't have permission to edit values." %}

{% endif %} {% endif %} {% endblock %}