{% extends 'wafer/base_form.html' %} {% load i18n %} {% load crispy_forms_tags %} {% load static %} {% block content %} {% if can_edit %} {% trans "Edit Talk" %} {% with corresponding_author_name=object.corresponding_author.userprofile.display_name %} {% url 'wafer_user_profile' username=object.corresponding_author.username as corresponding_author_url %} {% blocktrans trimmed %} Submitted by {{ corresponding_author_name }}. {% endblocktrans %} {% endwith %} {% else %} {% trans "Talk Submission" %} {% endif %} {% if not can_edit and not can_submit %} {% blocktrans trimmed %} Talk submission is closed {% endblocktrans %} {% else %} {% url 'wafer_user_edit_profile' form.user as edit_bio_url %} {% if form.user.userprofile.bio %} {% trans "Your Biography" %} {% trans "Edit" %} {{ form.user.userprofile.bio|linebreaks }} {% else %} {% blocktrans trimmed %} Please add a speaker biography before submitting a talk. {% endblocktrans %} {% endif %} {% crispy form %} {% endif %} {% endblock %}
Submitted by {{ corresponding_author_name }}.