2015-10-16 17:53:02 +00:00
|
|
|
{% extends "symposion/proposals/base.html" %}
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
2016-06-27 08:13:38 +00:00
|
|
|
{% block page_title %}{% trans 'Proposal:' %} {{ proposal.title }}{% endblock %}
|
2016-06-27 21:58:06 +00:00
|
|
|
{% block head_title %}{% trans 'Proposal:' %} {{ proposal.title }}{% endblock %}
|
2016-06-27 08:13:38 +00:00
|
|
|
|
|
|
|
{% block proposals_body %}
|
2018-06-30 02:01:19 +00:00
|
|
|
<h2 class="my-5">{% trans 'Current Speakers' %}</h2>
|
2015-10-16 17:53:02 +00:00
|
|
|
|
|
|
|
{% for speaker in speakers %}
|
|
|
|
{% if speaker.user %}
|
|
|
|
<p><b>{{ speaker.name }}</b> — {{ speaker.email }}</p>
|
|
|
|
{% else %}
|
|
|
|
<p>{{ speaker.email }} — {% trans 'pending invitation' %}</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
|
2018-06-30 02:01:19 +00:00
|
|
|
<h3 class="mt-5">{% trans 'Add another speaker' %}</h3>
|
2015-10-16 17:53:02 +00:00
|
|
|
|
2017-04-16 06:01:57 +00:00
|
|
|
<form class="form-horizontal" method="POST" action="" enctype="multipart/form-data">
|
2015-10-16 17:53:02 +00:00
|
|
|
{% csrf_token %}
|
2016-06-27 21:58:06 +00:00
|
|
|
<fieldset>
|
|
|
|
{% include "_form_snippet.html" with form=add_speaker_form %}
|
2019-06-24 11:58:21 +00:00
|
|
|
<input type="submit" value="Add speaker" class="btn btn-primary"/>
|
2023-05-02 03:56:55 +00:00
|
|
|
<a href="{% url "proposal_edit" proposal.pk %}" class="btn btn-light">{% trans 'Continue editing proposal' %}</a>
|
2016-06-27 21:58:06 +00:00
|
|
|
</fieldset>
|
2015-10-16 17:53:02 +00:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block extra_body %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
|
|
|
$("#id_email").focus();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|