--- a/project/templates/proceedings/submit.html Thu Jan 14 21:07:03 2010 +0530
+++ b/project/templates/proceedings/submit.html Fri Jan 15 20:15:00 2010 +0530
@@ -2,11 +2,16 @@
{% block title %}Submit Paper for Proceedings{% endblock %}
{% block addscripts %}
+ <link rel="stylesheet" type="text/css" href="/static/jquery/jquery.autocomplete.css" />
<script type="text/javascript" src="/static/jquery/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="/static/jquery/jquery-dynamic-form.js"></script>
+ <script type="text/javascript" src="/static/jquery/jquery.autocomplete-min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
- $("#author").dynamicForm("#plus", "#minus", {createColor: 'yellow',removeColor: 'red'});
+ $("#author").dynamicForm("#plus", "#minus", {limit: 10, createColor: 'green',removeColor: 'red'});
+ var a = $('input[id^=id_authors]').autocomplete({
+ serviceUrl:'/proceedings/getusers/',
+ });
});
</script>
{% endblock %}
@@ -57,11 +62,12 @@
</tr>
<tr>
<th>{{ proceedings_form.authors.label }}</th>
- <td id="author">
+ <td>
+ <table style="position: relative; left: -3%;"><tr id="author"><td>
{{ proceedings_form.authors.errors }}
{{ proceedings_form.authors }}
<span><a id="minus" href="">[Remove]</a><a id="plus" href="">[Add]</a></span>
- <br />
+ </td><tr></table>
</td>
</tr>
</table>