{% extends "mezawiki/wiki_page_list.html" %} {% load mezzanine_tags mezawiki_tags comment_tags keyword_tags rating_tags i18n %} {% block meta_title %} {% if not wiki_page.is_initial %} {% trans "Editing" %}: {% else %} {% trans "Creating" %}: {% endif %} {{ title }}{% endblock %} {% block meta_keywords %}{% metablock %} {% keywords_for wiki_page as tags %} {% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %} {% endmetablock %}{% endblock %} {% block meta_description %}{% metablock %} {{ wiki_page.description }} {% endmetablock %}{% endblock %} {% block title %} {% if not wiki_page.is_initial %} {{ wiki_page.title }} {% else %} {{ title }} {% endif %} {% endblock %} {% block breadcrumb_menu %} {{ block.super }} {% if not wiki_page.is_initial %}
  • {{ wiki_page.title }}
  • {% trans "Editing" %}
  • {% else %}
  • {{ title }}
  • {% trans "Creating" %}
  • {% endif %} {% endblock %} {% block main %} {% if not wiki_page.is_initial %} [{% trans "View Page" %}] {% else %} [{% trans "Creating" %}] {% endif %} {% if not wiki_page.is_initial %}
    {% if wiki_page.categories.all.count > 0 %} {% trans "Categories" %}: {% for category in wiki_page.categories.all %} {{ category }} {% endfor %} {% endif %}
    {% endif %} {% if wiki_page.featured_image %}

    {% endif %}
    {% csrf_token %} {{ form.as_p }}
    {% keywords_for wiki_page as tags %} {% if tags %} {% spaceless %} {% endspaceless %} {% endif %} {% endblock %}