root/trunk/opentrials/reviewapp/templates/reviewapp/new_submission.html @ 570

Revision 570, 1.2 kB (checked in by rafael.soares, 3 years ago)

added field helpers in new submission, close #169

Line 
1{% extends "base.html" %}
2{% load i18n %}
3
4{% block extrahead %}
5        <script type="text/javascript">
6            $(document).ready(function() {
7                $("select[multiple]").asmSelect({
8                        addItemTarget: 'bottom',
9                        animate: true,
10                        highlight: true,
11                        sortable: false
12                });
13                $('.dataTable th img').cluetip({sticky: true, closePosition: 'title',local:true, cursor: 'pointer'});
14            });
15        </script>
16{% endblock %}
17
18{% block stepmenu_top %}
19    {{ block.super }}
20    <small>
21        / <a href="{% url reviewapp.submissionlist %}">{% trans 'Submissions' %}</a>
22    </small>
23    <big>/ {% trans 'New Submission' %}</big>
24{% endblock %}
25
26{% block body %}
27
28<form method="post" action="/accounts/newsubmission/" enctype="multipart/form-data">{% csrf_token %}
29{% for form in forms %}
30<fieldset>
31    <legend>{{ form.form_title }}</legend>
32    <table id="table_{{ forloop.counter }}" class="dataTable" cellspacing="0">
33        {{ form.as_table }}
34    </table>
35</fieldset>
36{% endfor %}
37
38<input name="submit" type="submit" value="{% trans "Submit" %}"/>
39</form>
40
41{% endblock %}
Note: See TracBrowser for help on using the browser.