2012-08-14 07:49:57 +00:00
|
|
|
{% extends "proposals/base.html" %}
|
2012-09-24 10:54:41 +00:00
|
|
|
{% load i18n %}
|
2012-08-14 07:49:57 +00:00
|
|
|
|
|
|
|
{% load bootstrap_tags %}
|
|
|
|
|
|
|
|
{% block body %}
|
2012-09-24 10:54:41 +00:00
|
|
|
<h1>{{% trans 'Proposal:' %} {{ proposal.title }}</h1>
|
2012-08-14 07:49:57 +00:00
|
|
|
|
2012-09-24 10:54:41 +00:00
|
|
|
<p>
|
|
|
|
<a href="{% url proposal_edit proposal.pk %}">{% trans 'Edit proposal' %}
|
|
|
|
</a>
|
|
|
|
</p>
|
2012-08-14 07:49:57 +00:00
|
|
|
|
2012-09-24 10:54:41 +00:00
|
|
|
<h2>{% trans 'Current Speakers' %}</h2>
|
2012-08-14 07:49:57 +00:00
|
|
|
|
|
|
|
{% for speaker in speakers %}
|
|
|
|
{% if speaker.user %}
|
|
|
|
<p><b>{{ speaker.name }}</b> — {{ speaker.email }}</p>
|
|
|
|
{% else %}
|
2012-09-24 10:54:41 +00:00
|
|
|
<p>{{ speaker.email }} — {% trans 'pending invitation' %}</p>
|
2012-08-14 07:49:57 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
|
2012-09-24 10:54:41 +00:00
|
|
|
<h2>{% trans 'Add another speaker' %}</h2>
|
2012-08-14 07:49:57 +00:00
|
|
|
|
|
|
|
<form method="POST" action="" enctype="multipart/form-data" class="uniForm">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ add_speaker_form|as_bootstrap }}
|
|
|
|
<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>
|
2012-09-24 10:54:41 +00:00
|
|
|
{% endblock %}
|