diff options
author | prashantsinalkar | 2017-09-07 12:26:06 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-09-07 12:26:06 +0530 |
commit | 9f89e398c88fa0982363d5f42e10f04dc4b58911 (patch) | |
tree | f0b8bb2d7988c21ba56d00f025d4405e2a975fb0 /website/templates/edit-proposal.html | |
parent | a545b3f01d16d6dcaebe3067a2e847df7c271a59 (diff) | |
download | SciPy2017-9f89e398c88fa0982363d5f42e10f04dc4b58911.tar.gz SciPy2017-9f89e398c88fa0982363d5f42e10f04dc4b58911.tar.bz2 SciPy2017-9f89e398c88fa0982363d5f42e10f04dc4b58911.zip |
initial commit for development
Diffstat (limited to 'website/templates/edit-proposal.html')
-rwxr-xr-x | website/templates/edit-proposal.html | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/website/templates/edit-proposal.html b/website/templates/edit-proposal.html new file mode 100755 index 0000000..8eb332e --- /dev/null +++ b/website/templates/edit-proposal.html @@ -0,0 +1,72 @@ +<!DOCTYPE HTML> +{% extends 'base.html' %} +{% load static %} + +<html> + <head> + <title>{{ user.get_full_name|default:user.username }}</title> + </head> + <body> + + + + {% block header %} + <header id="header1"> + <h1>Scipy India 2016</h1> + {% if proposal.proposal_type == "ABSTRACT"%} + <h2>Edit Abstract Proposal</h2> + {% else %} + <h2>Edit Workshop Proposal</h2> + {% endif %} +</header> +{% endblock %} + +{% block nav %} + +<div id="navbar-main"> + <div class="navbar navbar-inverse navbar-fixed-top"> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="{% url 'website:home' %}" class="active">Home</a></li> + {% if user and not user.is_anonymous %} + <li><a href="{% url 'website:cfp' %}">{{ user.get_full_name|default:user.username }}</a> + <li><a href="{% url 'auth:logout' %}?next=/2016/cfp">Logout</a></li> + {% else %} + <li><a href="{% url 'website:cfp' %}" >Login</a></li> + {% endif %} + </ul> + </div> + </div> +</div> +{% endblock %} + +{% block content %} + + <div id="wrapper"> + <div id="main"> + <section id="content" class="main"> + <h3>{{ proposal.user.first_name }} {{ proposal.user.last_name }}</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" style="background:#D44727" type="submit">Submit</button></center> + </form> + + + </section> + </div> + </div> + + +{% endblock %} +</body> +</html>
\ No newline at end of file |