summaryrefslogtreecommitdiff
path: root/website/templates/submit-cfp.html
blob: fc76c5874d785739e9f3d66cb6786e4ed5fcec0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{% extends 'base.html' %}
{% load staticfiles %}

{%  block navbar %}
<div id="navbar-main"> 
  <!-- Fixed navbar -->
  <div class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
        <a class="navbar-brand" href="{% url 'website:home' %}">SciPy India 2015 </a>
      </div>
      <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav navbar-right">
           <li><a href="{% url 'website:home' %}">Home</a></li>
           {% if user and not user.is_anonymous %}
               <li class="dropdown">
               <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.get_full_name|default:user.username }}<b class="caret"></b></a>
               <ul class="dropdown-menu">
                   <li><a href="{% url 'auth:logout' %}?next=/2015/cfp">Logout</a></li>
               </ul>           
           {% endif %}
        </ul>
      </div>
      <!--/.nav-collapse --> 
    </div>
  </div>
</div>
{% endblock %}

{% block content %}
<div id="contact" name="contact">
  <div class="container">
    <div class="row">
      <h2 class="centered">Submit a Talk</h2>
      <hr>
    </div>
      <div class="col-lg-8 col-lg-offset-2 centered">
        <form id="contact" action="" method=POST enctype="multipart/form-data">
          <div class="row1">
            {{ proposal_form.as_p }}
          </div>
          {% csrf_token %}
        <center><button class="btn btn btn-lg" type="submit">Submit</button></center>
        </form>
        <!-- form --> 
      </div>
    <!-- row --> 
  </div>
</div>
<!-- container -->
{% endblock %}