project/templates/talk/submit-talk.html
author Parth buch <parth.buch.115@gmail.com>
Sat, 01 Oct 2011 03:59:03 +0530
branch2011
changeset 429 cde70fd3073c
parent 123 d4799b7159e4
permissions -rw-r--r--
changed the handler404 and handler500 to a custom view, passing scope to get proper formed urls when displaying 404 and 500 pages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "base.html" %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
{% block title %}Submit Talk Proposal{% endblock %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
{% block content %}
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
     6
  <h1>Submit Talk Proposal</h1>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
     8
  {% include '_errors.html' %}
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    10
  <form action="{% url scipycon_submit_talk params.scope %}" method="post">
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
    {% if not user.is_authenticated %}
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    12
      <fieldset>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    13
        <legend>Are you a member of this site?</legend>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    14
        <table class="scipycon-default required">
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    15
          {{ login_form }}
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    16
        </table>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    18
        <input type="hidden" name="action" value="login" />
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    20
        <button class="button left" type="submit">Login</button>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    21
      </fieldset>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    22
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    23
    </form>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    24
    <br />
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    26
    <form action="{% url scipycon_submit_talk %}"
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    27
        enctype="multipart/form-data" method="post">
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    28
      <fieldset>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    29
        <legend>Speaker Registration</legend>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    30
        <table class="scipycon-default required">
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    31
          {{ register_form }}
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    32
        </table>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    34
        <input type="hidden" name="action" value="register" />
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    35
      </fieldset>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    36
    {% endif %}
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    37
    <br />
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    38
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    39
    <fieldset>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    40
      <legend>Talk Submission</legend>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    41
      <table class="scipycon-default required">
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    42
        {{ talk_form }}
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    43
      </table>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    44
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    45
      <button class="button left" type="submit">Submit Talk</button>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    46
    </fieldset>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    47
  </form>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    48
  {% if message %}
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    49
    <script type="text/javascript">
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    50
        $.jGrowl("{{ message }}");
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    51
     </script>
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    52
  {% endif %}
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    53
{% endblock content %}