Modify views and templates for proceedings to work.
{% extends "base.html" %}
{% block title %}Submit Paper for Proceedings{% endblock %}
{% block addscripts %}
<link rel="stylesheet" href="/static/css/autoSuggest.css" type="text/css" media="screen" charset="utf-8">
<script type="text/javascript" src="/static/jquery/jquery.autoSuggest.js"></script>
<script type="text/javascript">
$(document).ready(function() {
var initial_authors_obj = eval("{{ initial_authors|escapejs }}");
$("#id_authors").autoSuggest("{% url kiwipycon_get_usernames %}",
{minChars: 2, asHtmlID: "authors",
selectedValuesProp: "name",
preFill: initial_authors_obj });
});
</script>
{% endblock %}
{% block content %}
<h1>Submit Proceedings paper</h1>
{% include '_errors.html' %}
<form action="{% if id %}{% url kiwipycon_submit_proceedings id %}{% else %}{% url kiwipycon_submit_proceedings %}{% endif %}" method="post">
{% if not user.is_authenticated %}
<fieldset>
<legend>Are you a member of this site?</legend>
<table class="kiwipycon-default required">{{ login_form }}</table>
<input type="hidden" name="action" value="login" />
<button class="button left" type="submit">Login</button>
</fieldset>
</form>
<br />
<form action="{% url kiwipycon_submit_proceedings id %}"
enctype="multipart/form-data" method="post">
<fieldset>
<legend>User Registration</legend>
<table class="kiwipycon-default required">{{ register_form }}</table>
<input type="hidden" name="action" value="register" />
</fieldset>
{% endif %}
<br />
<fieldset>
<legend>Proceedings Paper Submission</legend>
<table class="kiwipycon-default required">
<tr>
<th>{{ proceedings_form.title.label }}</th>
<td>{{ proceedings_form.title.errors }}{{ proceedings_form.title }}</td>
</tr>
<tr>
<th>{{ proceedings_form.abstract.label }}</th>
<td>{{ proceedings_form.abstract.errors }}{{ proceedings_form.abstract }}</td>
</tr>
<tr>
<th>{{ proceedings_form.body.label }}</th>
<td>{{ proceedings_form.body.errors }}{{ proceedings_form.body }}</td>
</tr>
<tr>
<th>{{ proceedings_form.rst_file.label }}</th>
<td>{{ proceedings_form.rst_file.errors }}
{{ proceedings_form.rst_file }}</td>
</tr>
<tr>
<th>{{ proceedings_form.authors.label }}</th>
<td>{{ proceedings_form.authors.errors }}
{{ proceedings_form.authors }}</td>
</tr>
</table>
<button class="button left" type="submit">Submit Paper</button>
</fieldset>
</form>
{% if message %}
<script type="text/javascript">$.jGrowl("{{ message }}");</script>
{% endif %}
{% endblock content %}