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-- |
0 | 1 |
{% extends "projrev/base.html" %} |
22 | 2 |
{% block scripts %} |
3 |
{{ block.super }} |
|
4 |
<script language="JavaScript" type="text/javascript" src="/site-content/js/jquery.chainedSelects.js"></script> |
|
5 |
<script language="JavaScript" type="text/javascript"> |
|
6 |
$(function() |
|
7 |
{ |
|
8 |
$('#id_state').chainSelect('#id_district','/proposal/submit/get_dfors'); |
|
9 |
}); |
|
10 |
</script> |
|
11 |
{% endblock scripts %} |
|
0 | 12 |
{% block content %} |
13 |
<div class="post"> |
|
14 |
||
15 |
<a name="TemplateInfo"></a> |
|
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 | 25 |
|
26 |
<form enctype="multipart/form-data" method="post" action=""> |
|
27 |
<p> |
|
22 | 28 |
{% for field in form %} |
29 |
<p> |
|
30 |
{{ field.errors }} |
|
31 |
{{ field.label_tag }}{% if field.field.required %}<span class="special_class">(*)</span>{% endif %}:{{ field }} |
|
32 |
</p> |
|
33 |
{% endfor %} |
|
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 | 49 |
</p> |
50 |
</form> |
|
51 |
||
13 | 52 |
<p class="post-footer align-right"> |
53 |
<span class="comments">Reviews: |
|
54 |
{% if nr_reviews %} |
|
55 |
{{ nr_reviews }} |
|
56 |
{% else %} |
|
57 |
(<i>None</i>) |
|
58 |
{% endif %} |
|
59 |
</span> |
|
60 |
<span class="date">Last reviewed: |
|
61 |
{% if last_reviewed %} |
|
14 | 62 |
{{ last_reviewed|date:"jS F Y h:iA" }} |
13 | 63 |
{% else %} |
64 |
(<i>Not Reviewed</i>) |
|
65 |
{% endif %} |
|
66 |
</span> |
|
67 |
<span class="date">Last submitted: |
|
68 |
{% if last_submitted %} |
|
14 | 69 |
{{ last_submitted|date:"jS F Y h:iA" }} |
13 | 70 |
{% else %} |
71 |
(<i>New Submission</i>) |
|
72 |
{% endif %} |
|
73 |
</span> |
|
0 | 74 |
</p> |
75 |
||
76 |
</div> |
|
77 |
{% endblock content %} |