blob: 8eb332ecdd8b0a9ed527ef89594d6d9d59714ddb (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
<!DOCTYPE HTML>
{% extends 'base.html' %}
{% load static %}
<html>
<head>
<title>{{ user.get_full_name|default:user.username }}</title>
</head>
<body>
{% block header %}
<header id="header1">
<h1>Scipy India 2016</h1>
{% if proposal.proposal_type == "ABSTRACT"%}
<h2>Edit Abstract Proposal</h2>
{% else %}
<h2>Edit Workshop Proposal</h2>
{% endif %}
</header>
{% endblock %}
{% block nav %}
<div id="navbar-main">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="{% url 'website:home' %}" class="active">Home</a></li>
{% if user and not user.is_anonymous %}
<li><a href="{% url 'website:cfp' %}">{{ user.get_full_name|default:user.username }}</a>
<li><a href="{% url 'auth:logout' %}?next=/2016/cfp">Logout</a></li>
{% else %}
<li><a href="{% url 'website:cfp' %}" >Login</a></li>
{% endif %}
</ul>
</div>
</div>
</div>
{% endblock %}
{% block content %}
<div id="wrapper">
<div id="main">
<section id="content" class="main">
<h3>{{ proposal.user.first_name }} {{ proposal.user.last_name }}</h3>
<form action="" method=POST enctype="multipart/form-data"> {% csrf_token %}
<div class="row1">
{% for field in form %}
<p>{{ field.label}}
{% if field.field.required %} <span style="color:red;">*</span> {% endif %}
{{ field }}</p>
<a style="color:red; ">{{ field.errors }}</a>
{% endfor %}
</div>
{% csrf_token %}
<center><button class="button special" style="background:#D44727" type="submit">Submit</button></center>
</form>
</section>
</div>
</div>
{% endblock %}
</body>
</html>
|