{% extends "orga/cfp/base.html" %} {% load bootstrap4 %} {% load i18n %} {% load rules %} {% block content %} {% has_perm 'orga.change_speaker' request.user form.instance as can_edit_speaker %} {{ form.instance.user.get_display_name }} ({{ submission_count }} {% if submission_count > 1 %}{% trans "submissions" %}{% else %}{% trans "submission" %}{% endif %})
{% if submission_count > 1 %}{% trans "Submissions" %}{% else %}{% trans "Submission" %}{% endif %}
{% csrf_token %} {% bootstrap_field form.name layout='event' %} {% bootstrap_field form.biography layout='event' %} {% bootstrap_field form.availabilities layout='event' %}
{% if action == "edit" %} {% elif action == "view" %} {% if form.instance.pk and can_edit_speaker %} {% trans "Edit" %} {% endif %} {% endif %}
{% endblock %}