{% extends "cosinnus/base.html" %} {% load i18n static cosinnus_tags widget_tweaks thumbnail %} {% block extrahead %} {{ block.super }} {% include 'cosinnus/common/simplemde_dependencies.html' with element_id=form.forms.obj.description.id_for_label %} {% include 'cosinnus/common/simplemde_dependencies.html' with element_id=form.forms.obj.description_long.id_for_label noinclude=1 %} {% endblock %} {% block page_title %} {% if object %} {% blocktrans with team_name=object.name %}Edit “{{ team_name }}”{% endblocktrans %} {% else %} {% if group_model == "CosinnusSociety" %}{% trans "Create Group" %}{% else %}{% trans "Create Project" %}{% endif %} {% endif %} {% endblock %} {% block leftnav %} {% if object %} {% captureas current_page %}editgroup{% endcaptureas %} {% include "cosinnus/group/leftnav_group.html" with current_page=current_page %} {% else %} {% captureas current_page %}{% if group_model == "CosinnusSociety" %}addsociety{% else %}addgroup{% endif %}{% endcaptureas %} {% include "cosinnus/group/leftnav_all_groups.html" with current_page=current_page %} {% endif %} {% if group_model == "CosinnusSociety" %} {% trans "Help about groups" as help_label %} {% include 'cosinnus/common/help_button_leftnav_for_popup.html' with help_text_id="helptext_1_group" label=help_label %} {% else %} {% trans "Help about projects" as help_label %} {% include 'cosinnus/common/help_button_leftnav_for_popup.html' with help_text_id="helptext_2_project" label=help_label %} {% endif %} {% trans "Help about the microsite" as help_label %} {% include 'cosinnus/common/help_button_leftnav_for_popup.html' with help_text_id="helptext_6_microsite" label=help_label no_space=True %} {% endblock leftnav %} {% block breadcrumb %} {{ block.super }} {% if object %}
{% trans "There was an error in one of the fields you entered. Please correct it before saving!" %}