{% extends "base.html" %} {% load i18n fieldset_extras %} {% block title %}{% if object.pk %}{% trans "Edit Page" %}: {{ page.title }}{% else %}{% trans "Add Page" %}{% endif %}{% endblock %} {% block extra_head %} {% endblock %} {% block maincontent %} {% get_fieldset "parent, slug, content_type, status" from form as fieldset_common %} {% get_fieldset "menu_name_de, title_de, pdf_de, content_de" from form as fieldset_de %} {% get_fieldset "menu_name_en, title_en, pdf_en, content_en" from form as fieldset_en %} {% get_fieldset "template, enable_comments" from form as fieldset_html %}
{% csrf_token %}
{% if object.pk %}{% trans "Edit Page" %}{% else %}{% trans "Add Page" %}{% endif %} {% with fieldset_common as form %}{% include "form.html" %}{% endwith %}
{% trans "German" %} {% with fieldset_de as form %}{% include "form.html" %}{% endwith %}
{% trans "English" %} {% with fieldset_en as form %}{% include "form.html" %}{% endwith %}
{% trans "HTML Specific" %} {% with fieldset_html as form %}{% include "form.html" %}{% endwith %}

{% endblock %} {% block javascript %} CKEDITOR.replace( 'id_content_de' ); CKEDITOR.replace( 'id_content_en' ); {% endblock %}