blob: fdcc39bc23f8f284cf356726f372cfc85662461b (
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
|
{% extends "base.html" %}
{% load static %}
{% load widget_tweaks %}
{% block content %}
<section id="edit_proposal" class="section edit_proposal">
<div class="container">
<p>
<center>
{% if proposal.proposal_type == "ABSTRACT" %}
<h2>Edit Abstract Proposal</h2>
{% else %}
<h2>Edit Workshop Proposal</h2>
{% endif %}
</center>
</p>
<h3><span class="label label-primary">{{ proposal.user.first_name }} {{ proposal.user.last_name }}</span></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" type="submit">Submit</button></center>
</form>
<br>
</div>
</section>
{% endblock %}
|