diff options
author | Prashant S | 2018-08-23 17:40:00 +0530 |
---|---|---|
committer | GitHub | 2018-08-23 17:40:00 +0530 |
commit | fd8043402a56fe47f47938b3874c93607616a20c (patch) | |
tree | 840a015b9bb62c4b7715212453f1235411f5efb1 /static/website/templates/edit-proposal.html | |
parent | 5fc9c374d7139d8364519a9f28f07be645d62eeb (diff) | |
parent | 83e14c33bae4ef1ad5e8546408caf7232e962c75 (diff) | |
download | SciPy2018-master.tar.gz SciPy2018-master.tar.bz2 SciPy2018-master.zip |
added new html files and views.
Diffstat (limited to 'static/website/templates/edit-proposal.html')
-rwxr-xr-x | static/website/templates/edit-proposal.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/static/website/templates/edit-proposal.html b/static/website/templates/edit-proposal.html new file mode 100755 index 0000000..fdcc39b --- /dev/null +++ b/static/website/templates/edit-proposal.html @@ -0,0 +1,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 %} |