app/templates/projrev/proposal/submit.html
changeset 4 8d9da911ed7d
parent 0 c94bd9ae70d2
child 13 684540719344
--- a/app/templates/projrev/proposal/submit.html	Thu Aug 06 12:17:29 2009 +0530
+++ b/app/templates/projrev/proposal/submit.html	Thu Aug 06 18:15:57 2009 +0530
@@ -4,14 +4,32 @@
 			
 	<a name="TemplateInfo"></a>	
 	<h1>Submit your proposal</h1>
-				
-	<p>Fill up the form below, and upload your proposal file by clicking on Browse.</p>
+
+  {% 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 }}
-		<br />	
-		<input class="button" type="submit" value="Submit Proposal" />		
+      {{ 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>