2015-10-16 17:53:02 +00:00
|
|
|
{% extends "symposion/proposals/base.html" %}
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
{% load bootstrap %}
|
|
|
|
|
2016-06-27 08:13:38 +00:00
|
|
|
{% block page_title %}{% trans 'Proposal:' %} {{ proposal.title }}{% endblock %}
|
|
|
|
|
|
|
|
{% block proposals_body %}
|
|
|
|
<h1></h1>
|
2015-10-16 17:53:02 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<a href="{% url "proposal_edit" proposal.pk %}">{% trans 'Edit proposal' %}
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
|
2016-06-27 08:13:38 +00:00
|
|
|
<h3>{% trans 'Current Speakers' %}</h3>
|
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 %}
|
|
|
|
|
2016-06-27 08:13:38 +00:00
|
|
|
<h3>{% trans 'Add another speaker' %}</h3>
|
2015-10-16 17:53:02 +00:00
|
|
|
|
|
|
|
<form method="POST" action="" enctype="multipart/form-data">
|
|
|
|
{% csrf_token %}
|
2016-06-27 08:13:38 +00:00
|
|
|
{% include "_form_snippet.html" with form=add_speaker_form %}
|
2015-10-16 17:53:02 +00:00
|
|
|
<div class="form-action">
|
|
|
|
<input type="submit" value="Add speaker" class="btn btn-primary" />
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block extra_body %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
|
|
|
$("#id_email").focus();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|