{% extends 'simplewiki/base.html' %} {% load i18n %} {% load humanize %} {% load static %} {% block details %} {% if user_action == 'none' %}
{% endif %}
{% translate "Section Administration" %}
{% if user_action == 'none' %} {% include 'simplewiki/editor/partials/sections/_list_sections.html' %} {% elif user_action == 'create' %} {% include 'simplewiki/editor/partials/sections/_create_section.html' %} {% elif user_action == 'edit' %} {% include 'simplewiki/editor/partials/sections/_edit_section.html' %} {% elif user_action == 'delete' %} {% include 'simplewiki/editor/partials/sections/_delete_section.html' %} {% endif %}
{% endblock %} {% block extra_javascript %} {% if user_action == 'edit' %} {% endif %} {% if user_action == 'edit' or user_action == 'create' %} {% include 'simplewiki/editor/partials/wysiwyg/_editor_scripts.html' %} {% endif %} {% endblock %} {% block extra_script %} {% endblock %}