symposion_app/pinaxcon/templates/symposion/proposals/proposal_speaker_manage.html
Christopher Neugebauer e6c623a69c Refactors all speaker-facing forms and editing pages to use the new theme (#27)
* Themes speaker_edit.html

* speaker_create now uses takeflight theme

* proposal_submit_kind now uses takeflight theme

* fixes bug in form_snippet

* Optimises proposals_submit_kind

* proposal_submit now uses wagtail theme

* Proposal_edit now uses new theme

* More forms

* Proposal details page now loads from take flight theme

* proposal_fields now looks nicer under the take flight theme

* proposal_speaker_manage rethemed
2016-06-27 18:13:38 +10:00

43 lines
1.1 KiB
HTML

{% extends "symposion/proposals/base.html" %}
{% load i18n %}
{% load bootstrap %}
{% block page_title %}{% trans 'Proposal:' %} {{ proposal.title }}{% endblock %}
{% block proposals_body %}
<h1></h1>
<p>
<a href="{% url "proposal_edit" proposal.pk %}">{% trans 'Edit proposal' %}
</a>
</p>
<h3>{% trans 'Current Speakers' %}</h3>
{% for speaker in speakers %}
{% if speaker.user %}
<p><b>{{ speaker.name }}</b> &mdash; {{ speaker.email }}</p>
{% else %}
<p>{{ speaker.email }} &mdash; {% trans 'pending invitation' %}</p>
{% endif %}
{% endfor %}
<h3>{% trans 'Add another speaker' %}</h3>
<form method="POST" action="" enctype="multipart/form-data">
{% csrf_token %}
{% include "_form_snippet.html" with form=add_speaker_form %}
<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 %}