diff options
Diffstat (limited to 'templates/proposals/proposal_form.html')
-rw-r--r-- | templates/proposals/proposal_form.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/proposals/proposal_form.html b/templates/proposals/proposal_form.html new file mode 100644 index 0000000..79f33bf --- /dev/null +++ b/templates/proposals/proposal_form.html | |||
@@ -0,0 +1,31 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}CodeMash Sponsors{% endblock %} | ||
4 | |||
5 | {% block content %} | ||
6 | <h1>{% if edit_view %}Edit{% else %}Submit{% endif %} Proposal</h1> | ||
7 | {% if object.approved %} | ||
8 | <p>Congratulations, your talk has been approved!</p> | ||
9 | |||
10 | <fieldset> | ||
11 | <legend>Scheduling Details</legend> | ||
12 | <p> | ||
13 | <label for="id_time_slot">Time Slot:</label> | ||
14 | <input type="text" id="id_time_slot" value="{{ object.time_slot }}" disabled /> | ||
15 | </p> | ||
16 | <p> | ||
17 | <label for="id_location">Location:</label> | ||
18 | <input type="text" id="id_location" value="{{ object.location }}" disabled /> | ||
19 | </p> | ||
20 | </fieldset> | ||
21 | {% endif %} | ||
22 | |||
23 | <form action="" method="post"> | ||
24 | {% csrf_token %} | ||
25 | <fieldset> | ||
26 | <legend>Talk Details</legend> | ||
27 | {{ form.as_p }} | ||
28 | <input type="submit" value="Save Changes" /> | ||
29 | </fieldset> | ||
30 | </form> | ||
31 | {% endblock %} | ||