1 {% extends "base.html" %} |
1 {% extends "base.html" %} |
2 |
2 |
3 {% block title %}Submit Talk Proposal{% endblock %} |
3 {% block title %}Submit Talk Proposal{% endblock %} |
4 |
4 |
5 {% block content %} |
5 {% block content %} |
6 <h1>Submit Talk Proposal</h1> |
6 <h1>Submit Talk Proposal</h1> |
7 |
7 |
8 {% include '_errors.html' %} |
8 {% include '_errors.html' %} |
9 |
9 |
10 <form action="{% url scipycon_submit_talk %}" |
10 <form action="{% url scipycon_submit_talk params.scope %}" method="post"> |
11 method="post"> |
|
12 {% if not user.is_authenticated %} |
11 {% if not user.is_authenticated %} |
13 <fieldset> |
12 <fieldset> |
14 <legend>Are you a member of this site?</legend> |
13 <legend>Are you a member of this site?</legend> |
15 <table class="scipycon-default required"> |
14 <table class="scipycon-default required"> |
16 {{ login_form }} |
15 {{ login_form }} |
17 </table> |
16 </table> |
18 |
17 |
19 <input type="hidden" |
18 <input type="hidden" name="action" value="login" /> |
20 name="action" |
|
21 value="login" /> |
|
22 |
19 |
23 <button class="button left" |
20 <button class="button left" type="submit">Login</button> |
24 type="submit"> |
21 </fieldset> |
25 Login |
|
26 </button> |
|
27 </fieldset> |
|
28 |
22 |
29 </form> |
23 </form> |
30 <br /> |
24 <br /> |
31 <form action="{% url scipycon_submit_talk %}" |
|
32 enctype="multipart/form-data" |
|
33 method="post"> |
|
34 <fieldset> |
|
35 <legend>Speaker Registration</legend> |
|
36 <table class="scipycon-default required"> |
|
37 {{ register_form }} |
|
38 </table> |
|
39 |
25 |
40 <input type="hidden" |
26 <form action="{% url scipycon_submit_talk %}" |
41 name="action" |
27 enctype="multipart/form-data" method="post"> |
42 value="register" /> |
28 <fieldset> |
43 </fieldset> |
29 <legend>Speaker Registration</legend> |
|
30 <table class="scipycon-default required"> |
|
31 {{ register_form }} |
|
32 </table> |
|
33 |
|
34 <input type="hidden" name="action" value="register" /> |
|
35 </fieldset> |
44 {% endif %} |
36 {% endif %} |
45 <br /> |
37 <br /> |
46 <fieldset> |
|
47 <legend>Talk Submission</legend> |
|
48 <table class="scipycon-default required"> |
|
49 {{ talk_form }} |
|
50 </table> |
|
51 |
38 |
52 <button class="button left" |
39 <fieldset> |
53 type="submit"> |
40 <legend>Talk Submission</legend> |
54 Submit Talk |
41 <table class="scipycon-default required"> |
55 </button> |
42 {{ talk_form }} |
56 </fieldset> |
43 </table> |
57 </form> |
44 |
58 {% if message %} |
45 <button class="button left" type="submit">Submit Talk</button> |
|
46 </fieldset> |
|
47 </form> |
|
48 {% if message %} |
59 <script type="text/javascript"> |
49 <script type="text/javascript"> |
60 $.jGrowl("{{ message }}"); |
50 $.jGrowl("{{ message }}"); |
61 </script> |
51 </script> |
62 {% endif %} |
52 {% endif %} |
63 {% endblock content %} |
53 {% endblock content %} |