blob: 0c8392e000fa72476d2e06b813d0115b3ba36f29 (
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
|
{% extends 'page.html' %}
{% block userblock %}
{% if current_user != "anonymous" %}
<li><a href="#"> {{ current_user }}</a></li>
<li><a href="/2013/accounts/logout">Logout</a></li>
{% endif %}
{% endblock %}
{% block content %}
<div class="large-6 large-centered columns">
<form class="form-signin" action="/2013/accounts/upload-document/" method="POST" enctype="multipart/form-data"> {% csrf_token %}
<h3 class="form-signin-heading">Submit Proposal</h3>
{{ form }}
{% if invalid_file %}
<div data-alert class="alert-box alert">
<span>{{ invalid_file }}</span>
<a href="#" class="close">×</a>
</div>
{% endif %}
{% if large_file %}
<div data-alert class="alert-box alert">
<span>{{ large_file }}</span>
<a href="#" class="close">×</a>
</div>
{% endif %}
<input type="hidden" name = "next" value="{{ next }}">
<button class="success expand" type="submit">Submit</button>
</form>
</div>
{% endblock %}
|