{% extends 'simplewiki/base.html' %} {% load i18n %} {% load humanize %} {% load static %} {% block details %} {% if user_action == 'none' %}
{% endif %}
{% translate "Section Administration" %}
{% if user_action == 'none' %} {% for section_item in section_items %} {% endfor %}
Index Section Title Menu Action
{{ section_item.index }} {{ section_item.title }} {% url 'simplewiki:dynamic_menu' menu_name=section_item.menu_path %}
{% elif user_action == 'create' %}
Create new section

{{ selectedMenu.title }}

{% csrf_token %}

Required: This title will be displayed above the content.

Required: Menu under which this section should be displayed.

Required: The entire wiki page is sorted by this index. The lower the value, the further to the top is the section.

Optional: Go to https://fontawesome.com/v5/search to find matching icons. We only support free icons. Format example: fas fa-hand-spock

Optional: This will be displayed as your main content of the section. You can use markdown. See https://commonmark.org/help/ for references.

{% elif user_action == 'edit' %}
Edit section

{{ selectedSection.title }}

{% csrf_token %}

Required: This title will be displayed above the content.

Required: Menu under which this section should be displayed.

Required: The entire wiki page is sorted by this index. The lower the value, the further to the top is the section.

Optional: Go to https://fontawesome.com/v5/search to find matching icons. We only support free icons. Format example: fas fa-hand-spock

Optional: This will be displayed as your main content of the section. You can use markdown. See https://commonmark.org/help/ for references.

{% elif user_action == 'delete' %}
Are you sure you want to delete the following section?

{{ selectedSection.title }}
{% csrf_token %}
{% endif %}
{% endblock %} {% block extra_javascript %} {% if user_action == 'edit' %} {% endif %} {% endblock %} {% block extra_script %} {% endblock %}