app/templates/projrev/proposal/submit.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Sun, 09 Aug 2009 22:52:45 +0530
changeset 22 0321f984fb16
parent 14 9d720dfded68
child 23 91cf6872d853
permissions -rw-r--r--
Made form changes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "projrev/base.html" %}
22
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
     2
{% block scripts %}
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
     3
{{ block.super }}
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
     4
<script language="JavaScript" type="text/javascript" src="/site-content/js/jquery.chainedSelects.js"></script>
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
     5
<script language="JavaScript" type="text/javascript">
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
     6
$(function()
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
     7
{
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
     8
  $('#id_state').chainSelect('#id_district','/proposal/submit/get_dfors');
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
     9
});
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
    10
</script>
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
    11
{% endblock scripts %}
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
{% block content %}
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
<div class="post">
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
			
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
	<a name="TemplateInfo"></a>	
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
	<h1>Submit your proposal</h1>
4
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    17
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    18
  {% if created_now %}
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    19
    <p>An MICR Code has been assigned and e-mailed to you. Please remember it for future reference.</p>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    20
  {% else %}{% if micr_code %}
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    21
    <p>Edit your details and upload new version of the proposal in the form below.</p>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    22
  {% else %}
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    23
    <p>Fill up the form below, and upload your proposal file by clicking on Browse.</p>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    24
  {% endif %}{% endif %}
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
	<form enctype="multipart/form-data" method="post" action="">			
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
		<p>
22
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
    28
    {% for field in form %}
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
    29
      <p>
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
    30
      {{ field.errors }}
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
    31
      {{ field.label_tag }}{% if field.field.required %}<span class="special_class">(*)</span>{% endif %}:{{ field }}
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
    32
      </p>
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
    33
    {% endfor %}
0321f984fb16 Made form changes.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 14
diff changeset
    34
4
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    35
      {% if proposal_path %}
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    36
        <p>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    37
          <label for="id_proposal">Previous Proposal Document:</label>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    38
          <a class="document-right" href="/site-content/{{ proposal_path }}">{{ proposal_name }}</a>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    39
        </p>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    40
      {% endif %}
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    41
      {% if micr_code %}
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    42
        <p>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    43
          <label for="id_micr_code">MICR Code:</label>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    44
          <input id="id_micr_code" type="text" maxlength="15" value="{{ micr_code }}" name="institution" DISABLED />
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    45
        </p>
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    46
      {% endif %}
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    47
		  <br />	
8d9da911ed7d Withdraw of proposals.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 0
diff changeset
    48
		  <input class="button" type="submit" value="Submit Proposal" />		
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    49
		</p>		
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    50
	</form>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    51
				
13
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    52
	<p class="post-footer align-right">
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    53
		<span class="comments">Reviews:
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    54
		{% if nr_reviews %}
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    55
		  {{ nr_reviews }}
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    56
		{% else %}
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    57
		  (<i>None</i>)
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    58
		{% endif %}
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    59
		</span>
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    60
		<span class="date">Last reviewed:
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    61
		{% if last_reviewed %}
14
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 13
diff changeset
    62
      {{ last_reviewed|date:"jS F Y h:iA" }}
13
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    63
    {% else %}
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    64
      (<i>Not Reviewed</i>)
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    65
    {% endif %}
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    66
		</span>
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    67
		<span class="date">Last submitted:
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    68
		{% if last_submitted %}
14
9d720dfded68 Footer for reviews.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 13
diff changeset
    69
      {{ last_submitted|date:"jS F Y h:iA" }}
13
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    70
    {% else %}
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    71
      (<i>New Submission</i>)
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    72
    {% endif %} 
684540719344 Added footer line.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 4
diff changeset
    73
		</span>	
0
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    74
	</p>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    75
				
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    76
</div>
c94bd9ae70d2 First commit.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    77
{% endblock content %}