app/templates/projrev/proposal/submit.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Fri, 07 Aug 2009 03:16:44 +0530
changeset 14 9d720dfded68
parent 13 684540719344
child 22 0321f984fb16
permissions -rw-r--r--
Footer for reviews.

{% extends "projrev/base.html" %}
{% block content %}
<div class="post">
			
	<a name="TemplateInfo"></a>	
	<h1>Submit your proposal</h1>

  {% if created_now %}
    <p>An MICR Code has been assigned and e-mailed to you. Please remember it for future reference.</p>
  {% else %}{% if micr_code %}
    <p>Edit your details and upload new version of the proposal in the form below.</p>
  {% else %}
    <p>Fill up the form below, and upload your proposal file by clicking on Browse.</p>
  {% endif %}{% endif %}

	<form enctype="multipart/form-data" method="post" action="">			
		<p>
      {{ form.as_p }}
      {% if proposal_path %}
        <p>
          <label for="id_proposal">Previous Proposal Document:</label>
          <a class="document-right" href="/site-content/{{ proposal_path }}">{{ proposal_name }}</a>
        </p>
      {% endif %}
      {% if micr_code %}
        <p>
          <label for="id_micr_code">MICR Code:</label>
          <input id="id_micr_code" type="text" maxlength="15" value="{{ micr_code }}" name="institution" DISABLED />
        </p>
      {% endif %}
		  <br />	
		  <input class="button" type="submit" value="Submit Proposal" />		
		</p>		
	</form>
				
	<p class="post-footer align-right">
		<span class="comments">Reviews:
		{% if nr_reviews %}
		  {{ nr_reviews }}
		{% else %}
		  (<i>None</i>)
		{% endif %}
		</span>
		<span class="date">Last reviewed:
		{% if last_reviewed %}
      {{ last_reviewed|date:"jS F Y h:iA" }}
    {% else %}
      (<i>Not Reviewed</i>)
    {% endif %}
		</span>
		<span class="date">Last submitted:
		{% if last_submitted %}
      {{ last_submitted|date:"jS F Y h:iA" }}
    {% else %}
      (<i>New Submission</i>)
    {% endif %} 
		</span>	
	</p>
				
</div>
{% endblock content %}