aboutsummaryrefslogtreecommitdiff
path: root/templates/proposals/proposal_form.html
blob: 40e11b4f14bebb35156fab5b81b7a07718879ff8 (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
{% extends "base.html" %}

{% block title %}CodeMash Talks{% endblock %}

{% block content %}
<h1>{% if edit_view %}Edit{% else %}Submit{% endif %} Proposal</h1>
{% if object.approved %}
<p>Congratulations, your talk has been approved!</p>

<fieldset>
    <legend>Scheduling Details</legend>
    <p>
        <label for="id_time_slot">Time Slot:</label>
        <input type="text" id="id_time_slot" value="{{ object.time_slot }}" disabled />
    </p>
    <p>
        <label for="id_location">Location:</label>
        <input type="text" id="id_location" value="{{ object.location }}" disabled />
    </p>
</fieldset>
{% endif %}

<form action="" method="post">
    {% csrf_token %}
    <fieldset>
        <legend>Talk Details</legend>
        {{ form.as_p }}
        <input type="submit" value="Save Changes" />
    </fieldset>
</form>
{% endblock %}