symposion_app/symposion/templates/proposals/proposal_speaker_manage.html

45 lines
1.1 KiB
HTML
Raw Normal View History

2012-08-14 07:49:57 +00:00
{% extends "proposals/base.html" %}
{% load url from future %}
2012-09-24 10:54:41 +00:00
{% load i18n %}
2012-08-14 07:49:57 +00:00
{% load bootstrap_tags %}
{% block body %}
2012-11-11 14:11:54 +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' %}
2012-09-24 10:54:41 +00:00
</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> &mdash; {{ speaker.email }}</p>
{% else %}
2012-09-24 10:54:41 +00:00
<p>{{ speaker.email }} &mdash; {% 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 %}