app/templates/projrev/proposal/review.html
changeset 39 e7880a8f7e04
parent 38 3cb38edbe05f
child 42 4cf4c1f0e5bb
--- a/app/templates/projrev/proposal/review.html	Mon Aug 10 19:38:53 2009 +0530
+++ b/app/templates/projrev/proposal/review.html	Tue Aug 11 03:38:51 2009 +0530
@@ -89,12 +89,140 @@
     <div class='review-right'>
       <a href="/site-content/{{ proposal_path }}">{{ proposal_name }}</a>
     </div>
+    <br />
   </div>
 
 
 	<form enctype="multipart/form-data" method="post" action="">			
 		<p>
       <p>
+        {{ form.attribute1.errors }}
+        <strong>{{ form.attribute1.label }}</strong><br />
+        <input id="attribute1" name="attribute1" type="radio" class="star" value="1"/>
+        <input id="attribute1" name="attribute1" type="radio" class="star" value="2"/>
+        <input id="attribute1" name="attribute1" type="radio" class="star" value="3"/>
+        <input id="attribute1" name="attribute1" type="radio" class="star" value="4" />
+        <input id="attribute1" name="attribute1" type="radio" class="star" value="5"/> 
+        {% if form.attribute1.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      </p>
+      <p>
+        {{ form.comment_a1.errors }}
+        <label id='id_comment'>{{ form.comment_a1.label }}</label>{{ form.comment_a1 }}
+      </p>
+      <p>
+        {{ form.attribute2.errors }}
+        <strong>{{ form.attribute2.label }}</strong><br />
+        <input name="attribute2" type="radio" class="star" value="1"/>
+        <input name="attribute2" type="radio" class="star" value="2"/>
+        <input name="attribute2" type="radio" class="star" value="3"/>
+        <input name="attribute2" type="radio" class="star" value="4"/>
+        <input name="attribute2" type="radio" class="star" value="5"/> 
+        {% if form.attribute2.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      </p>
+      <p>
+        {{ form.comment_a2.errors }}
+        <label id='id_comment'>{{ form.comment_a2.label }}</label>{{ form.comment_a2 }}
+      </p>
+      <p>
+        {{ form.attribute3.errors }}
+        <strong>{{ form.attribute3.label }}</strong><br />
+        <input name="attribute3" type="radio" class="star" value="1"/>
+        <input name="attribute3" type="radio" class="star" value="2"/>
+        <input name="attribute3" type="radio" class="star" value="3"/>
+        <input name="attribute3" type="radio" class="star" value="4"/>
+        <input name="attribute3" type="radio" class="star" value="5"/> 
+        {% if form.attribute3.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      </p>
+      <p>
+        {{ form.comment_a3.errors }}
+        <label id='id_comment'>{{ form.comment_a3.label }}</label>{{ form.comment_a3 }}
+      </p>
+      <p>
+        {{ form.attribute4.errors }}
+        <strong>{{ form.attribute4.label }}</strong><br />
+        <input name="attribute4" type="radio" class="star" value="1"/>
+        <input name="attribute4" type="radio" class="star" value="2"/>
+        <input name="attribute4" type="radio" class="star" value="3"/>
+        <input name="attribute4" type="radio" class="star" value="4"/>
+        <input name="attribute4" type="radio" class="star" value="5"/> 
+        {% if form.attribute4.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      </p>
+      <p>
+        {{ form.comment_a4.errors }}
+        <label id='id_comment'>{{ form.comment_a4.label }}</label>{{ form.comment_a4 }}
+      </p>
+      <p>
+        {{ form.attribute5.errors }}
+        <strong>{{ form.attribute5.label }}</strong><br />
+        <input name="attribute5" type="radio" class="star" value="1"/>
+        <input name="attribute5" type="radio" class="star" value="2"/>
+        <input name="attribute5" type="radio" class="star" value="3"/>
+        <input name="attribute5" type="radio" class="star" value="4"/>
+        <input name="attribute5" type="radio" class="star" value="5"/> 
+        {% if form.attribute5.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      </p>
+      <p>
+        {{ form.comment_a5.errors }}
+        <label id='id_comment'>{{ form.comment_a5.label }}</label>{{ form.comment_a5 }}
+      </p>
+      <p>
+        {{ form.attribute6.errors }}
+        <strong>{{ form.attribute6.label }}</strong><br />
+        <input name="attribute6" type="radio" class="star" value="1"/>
+        <input name="attribute6" type="radio" class="star" value="2"/>
+        <input name="attribute6" type="radio" class="star" value="3"/>
+        <input name="attribute6" type="radio" class="star" value="4"/>
+        <input name="attribute6" type="radio" class="star" value="5"/> 
+        {% if form.attribute6.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      </p>
+      <p>
+        {{ form.comment_a6.errors }}
+        <label id='id_comment'>{{ form.comment_a6.label }}</label>{{ form.comment_a6 }}
+      </p>
+      <p>
+        {{ form.attribute7.errors }}
+        <strong>{{ form.attribute7.label }}</strong><br />
+        <input name="attribute7" type="radio" class="star" value="1"/>
+        <input name="attribute7" type="radio" class="star" value="2"/>
+        <input name="attribute7" type="radio" class="star" value="3"/>
+        <input name="attribute7" type="radio" class="star" value="4"/>
+        <input name="attribute7" type="radio" class="star" value="5"/> 
+        {% if form.attribute7.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      </p>
+      <p>
+        {{ form.comment_a7.errors }}
+        <label id='id_comment'>{{ form.comment_a7.label }}</label>{{ form.comment_a7 }}
+      </p>
+      <p>
+        {{ form.attribute8.errors }}
+        <strong>{{ form.attribute8.label }}</strong><br />
+        <input name="attribute8" type="radio" class="star" value="1"/>
+        <input name="attribute8" type="radio" class="star" value="2"/>
+        <input name="attribute8" type="radio" class="star" value="3"/>
+        <input name="attribute8" type="radio" class="star" value="4"/>
+        <input name="attribute8" type="radio" class="star" value="5"/> 
+        {% if form.attribute8.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      </p>
+      <p>
+        {{ form.comment_a8.errors }}
+        <label id='id_comment'>{{ form.comment_a8.label }}</label>{{ form.comment_a8 }}
+      </p>
+      <p>
+        {{ form.attribute9.errors }}
+        <strong>{{ form.attribute9.label }}</strong><br />
+        <input name="attribute9" type="radio" class="star" value="1"/>
+        <input name="attribute9" type="radio" class="star" value="2"/>
+        <input name="attribute9" type="radio" class="star" value="3"/>
+        <input name="attribute9" type="radio" class="star" value="4"/>
+        <input name="attribute9" type="radio" class="star" value="5"/> 
+        {% if form.attribute9.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      </p>
+      <p>
+        {{ form.comment_a9.errors }}
+        <label id='id_comment'>{{ form.comment_a9.label }}</label>{{ form.comment_a9 }}
+      </p>
+      <br /><br />
+      <p>
       {% if form.comment.help_text %}
         <script type="text/javascript">
           $(document).ready( function() {
@@ -146,97 +274,7 @@
         </script>
       {% endif %}
       {{ form.comment.errors }}
-      {{ form.comment.label_tag }}{{ form.comment }}{% if form.comment.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
-      </p>
-      <p>
-        {{ form.attribute1.errors }}
-        {{ form.attribute1.label_tag }}
-        <input id="attribute1" name="attribute1" type="radio" class="star" value="1"/>
-        <input id="attribute1" name="attribute1" type="radio" class="star" value="2"/>
-        <input id="attribute1" name="attribute1" type="radio" class="star" value="3"/>
-        <input id="attribute1" name="attribute1" type="radio" class="star" value="4" />
-        <input id="attribute1" name="attribute1" type="radio" class="star" value="5"/> 
-        {% if form.attribute1.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
-      </p>
-      <p>
-        {{ form.attribute2.errors }}
-        {{ form.attribute2.label_tag }}
-        <input name="attribute2" type="radio" class="star" value="1"/>
-        <input name="attribute2" type="radio" class="star" value="2"/>
-        <input name="attribute2" type="radio" class="star" value="3"/>
-        <input name="attribute2" type="radio" class="star" value="4"/>
-        <input name="attribute2" type="radio" class="star" value="5"/> 
-        {% if form.attribute2.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
-      </p>
-      <p>
-        {{ form.attribute3.errors }}
-        {{ form.attribute3.label_tag }}
-        <input name="attribute3" type="radio" class="star" value="1"/>
-        <input name="attribute3" type="radio" class="star" value="2"/>
-        <input name="attribute3" type="radio" class="star" value="3"/>
-        <input name="attribute3" type="radio" class="star" value="4"/>
-        <input name="attribute3" type="radio" class="star" value="5"/> 
-        {% if form.attribute3.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
-      </p>
-      <p>
-        {{ form.attribute4.errors }}
-        {{ form.attribute4.label_tag }}
-        <input name="attribute4" type="radio" class="star" value="1"/>
-        <input name="attribute4" type="radio" class="star" value="2"/>
-        <input name="attribute4" type="radio" class="star" value="3"/>
-        <input name="attribute4" type="radio" class="star" value="4"/>
-        <input name="attribute4" type="radio" class="star" value="5"/> 
-        {% if form.attribute4.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
-      </p>
-      <p>
-        {{ form.attribute5.errors }}
-        {{ form.attribute5.label_tag }}
-        <input name="attribute5" type="radio" class="star" value="1"/>
-        <input name="attribute5" type="radio" class="star" value="2"/>
-        <input name="attribute5" type="radio" class="star" value="3"/>
-        <input name="attribute5" type="radio" class="star" value="4"/>
-        <input name="attribute5" type="radio" class="star" value="5"/> 
-        {% if form.attribute5.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
-      </p>
-      <p>
-        {{ form.attribute6.errors }}
-        {{ form.attribute6.label_tag }}
-        <input name="attribute6" type="radio" class="star" value="1"/>
-        <input name="attribute6" type="radio" class="star" value="2"/>
-        <input name="attribute6" type="radio" class="star" value="3"/>
-        <input name="attribute6" type="radio" class="star" value="4"/>
-        <input name="attribute6" type="radio" class="star" value="5"/> 
-        {% if form.attribute6.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
-      </p>
-      <p>
-        {{ form.attribute7.errors }}
-        {{ form.attribute7.label_tag }}
-        <input name="attribute7" type="radio" class="star" value="1"/>
-        <input name="attribute7" type="radio" class="star" value="2"/>
-        <input name="attribute7" type="radio" class="star" value="3"/>
-        <input name="attribute7" type="radio" class="star" value="4"/>
-        <input name="attribute7" type="radio" class="star" value="5"/> 
-        {% if form.attribute7.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
-      </p>
-      <p>
-        {{ form.attribute8.errors }}
-        {{ form.attribute8.label_tag }}
-        <input name="attribute8" type="radio" class="star" value="1"/>
-        <input name="attribute8" type="radio" class="star" value="2"/>
-        <input name="attribute8" type="radio" class="star" value="3"/>
-        <input name="attribute8" type="radio" class="star" value="4"/>
-        <input name="attribute8" type="radio" class="star" value="5"/> 
-        {% if form.attribute8.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
-      </p>
-      <p>
-        {{ form.attribute9.errors }}
-        {{ form.attribute9.label_tag }}
-        <input name="attribute9" type="radio" class="star" value="1"/>
-        <input name="attribute9" type="radio" class="star" value="2"/>
-        <input name="attribute9" type="radio" class="star" value="3"/>
-        <input name="attribute9" type="radio" class="star" value="4"/>
-        <input name="attribute9" type="radio" class="star" value="5"/> 
-        {% if form.attribute9.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
+      <label id='id_comment'>{{ form.comment.label }}</label>{{ form.comment }}{% if form.comment.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
       </p>
 		<br />	
 		<input class="button" type="submit" value="Submit Review" />