diff options
author | Prashant S | 2018-08-23 17:03:41 +0530 |
---|---|---|
committer | GitHub | 2018-08-23 17:03:41 +0530 |
commit | b0b42e5553658fbd3aee833b555435a4401d208c (patch) | |
tree | e9fd275a3fd808f9c25a1f343210c6e997e22a38 /static/website/templates/edit-proposal.html | |
parent | e5eeecc7abdce65aa81d6b68ba4304068ee1a5ca (diff) | |
parent | 756d9e437cc0e573558046d7ad2b1e629487865d (diff) | |
download | SciPy2018-b0b42e5553658fbd3aee833b555435a4401d208c.tar.gz SciPy2018-b0b42e5553658fbd3aee833b555435a4401d208c.tar.bz2 SciPy2018-b0b42e5553658fbd3aee833b555435a4401d208c.zip |
Merge pull request #8 from prashantsinalkar/development
added new 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 %} |