app/templates/projrev/proposal/review.html
changeset 42 4cf4c1f0e5bb
parent 39 e7880a8f7e04
child 43 55e650bb9dbe
equal deleted inserted replaced
41:64249ebaf65a 42:4cf4c1f0e5bb
     3 
     3 
     4 {% block scripts %}
     4 {% block scripts %}
     5 {{ block.super }}
     5 {{ block.super }}
     6 <script type="text/javascript">
     6 <script type="text/javascript">
     7 $(document).ready(function () {
     7 $(document).ready(function () {
     8   $('#attribute1').html();
     8   alert($('#attribute1[value=1]').attr('checked', 'checked'));
     9   
     9 });
    10 }
       
    11 </script>
    10 </script>
    12 {% endblock scripts %}
    11 {% endblock scripts %}
    13 
    12 
    14 {% block content %}
    13 {% block content %}
    15 <div class="post">
    14 <div class="post">
    96 	<form enctype="multipart/form-data" method="post" action="">			
    95 	<form enctype="multipart/form-data" method="post" action="">			
    97 		<p>
    96 		<p>
    98       <p>
    97       <p>
    99         {{ form.attribute1.errors }}
    98         {{ form.attribute1.errors }}
   100         <strong>{{ form.attribute1.label }}</strong><br />
    99         <strong>{{ form.attribute1.label }}</strong><br />
   101         <input id="attribute1" name="attribute1" type="radio" class="star" value="1"/>
   100         <input name="attribute1" type="radio" class="star" title="Poor" value="1"/>
   102         <input id="attribute1" name="attribute1" type="radio" class="star" value="2"/>
   101         <input name="attribute1" type="radio" class="star" title="Average" value="2"/>
   103         <input id="attribute1" name="attribute1" type="radio" class="star" value="3"/>
   102         <input name="attribute1" type="radio" class="star" title="Good" value="3"/>
   104         <input id="attribute1" name="attribute1" type="radio" class="star" value="4" />
   103         <input name="attribute1" type="radio" class="star" title="Very Good" value="4" />
   105         <input id="attribute1" name="attribute1" type="radio" class="star" value="5"/> 
   104         <input name="attribute1" type="radio" class="star" title="Excellent" value="5"/> 
   106         {% if form.attribute1.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   105         {% if form.attribute1.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   107       </p>
   106       </p>
   108       <p>
   107       <p>
   109         {{ form.comment_a1.errors }}
   108         {{ form.comment_a1.errors }}
   110         <label id='id_comment'>{{ form.comment_a1.label }}</label>{{ form.comment_a1 }}
   109         <label id='id_comment'>{{ form.comment_a1.label }}</label>{{ form.comment_a1 }}
   111       </p>
   110       </p>
   112       <p>
   111       <p>
   113         {{ form.attribute2.errors }}
   112         {{ form.attribute2.errors }}
   114         <strong>{{ form.attribute2.label }}</strong><br />
   113         <strong>{{ form.attribute2.label }}</strong><br />
   115         <input name="attribute2" type="radio" class="star" value="1"/>
   114         <input name="attribute2" type="radio" class="star" title="Poor" value="1"/>
   116         <input name="attribute2" type="radio" class="star" value="2"/>
   115         <input name="attribute2" type="radio" class="star" title="Average" value="2"/>
   117         <input name="attribute2" type="radio" class="star" value="3"/>
   116         <input name="attribute2" type="radio" class="star" title="Good" value="3"/>
   118         <input name="attribute2" type="radio" class="star" value="4"/>
   117         <input name="attribute2" type="radio" class="star" title="Very Good" value="4"/>
   119         <input name="attribute2" type="radio" class="star" value="5"/> 
   118         <input name="attribute2" type="radio" class="star" title="Excellent" value="5"/> 
   120         {% if form.attribute2.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   119         {% if form.attribute2.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   121       </p>
   120       </p>
   122       <p>
   121       <p>
   123         {{ form.comment_a2.errors }}
   122         {{ form.comment_a2.errors }}
   124         <label id='id_comment'>{{ form.comment_a2.label }}</label>{{ form.comment_a2 }}
   123         <label id='id_comment'>{{ form.comment_a2.label }}</label>{{ form.comment_a2 }}
   125       </p>
   124       </p>
   126       <p>
   125       <p>
   127         {{ form.attribute3.errors }}
   126         {{ form.attribute3.errors }}
   128         <strong>{{ form.attribute3.label }}</strong><br />
   127         <strong>{{ form.attribute3.label }}</strong><br />
   129         <input name="attribute3" type="radio" class="star" value="1"/>
   128         <input name="attribute3" type="radio" class="star" title="Poor" value="1"/>
   130         <input name="attribute3" type="radio" class="star" value="2"/>
   129         <input name="attribute3" type="radio" class="star" title="Average" value="2"/>
   131         <input name="attribute3" type="radio" class="star" value="3"/>
   130         <input name="attribute3" type="radio" class="star" title="Good" value="3"/>
   132         <input name="attribute3" type="radio" class="star" value="4"/>
   131         <input name="attribute3" type="radio" class="star" title="Very Good" value="4"/>
   133         <input name="attribute3" type="radio" class="star" value="5"/> 
   132         <input name="attribute3" type="radio" class="star" title="Excellent" value="5"/> 
   134         {% if form.attribute3.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   133         {% if form.attribute3.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   135       </p>
   134       </p>
   136       <p>
   135       <p>
   137         {{ form.comment_a3.errors }}
   136         {{ form.comment_a3.errors }}
   138         <label id='id_comment'>{{ form.comment_a3.label }}</label>{{ form.comment_a3 }}
   137         <label id='id_comment'>{{ form.comment_a3.label }}</label>{{ form.comment_a3 }}
   139       </p>
   138       </p>
   140       <p>
   139       <p>
   141         {{ form.attribute4.errors }}
   140         {{ form.attribute4.errors }}
   142         <strong>{{ form.attribute4.label }}</strong><br />
   141         <strong>{{ form.attribute4.label }}</strong><br />
   143         <input name="attribute4" type="radio" class="star" value="1"/>
   142         <input name="attribute4" type="radio" class="star" title="Poor" value="1"/>
   144         <input name="attribute4" type="radio" class="star" value="2"/>
   143         <input name="attribute4" type="radio" class="star" title="Average" value="2"/>
   145         <input name="attribute4" type="radio" class="star" value="3"/>
   144         <input name="attribute4" type="radio" class="star" title="Good" value="3"/>
   146         <input name="attribute4" type="radio" class="star" value="4"/>
   145         <input name="attribute4" type="radio" class="star" title="Very Good" value="4"/>
   147         <input name="attribute4" type="radio" class="star" value="5"/> 
   146         <input name="attribute4" type="radio" class="star" title="Excellent" value="5"/> 
   148         {% if form.attribute4.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   147         {% if form.attribute4.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   149       </p>
   148       </p>
   150       <p>
   149       <p>
   151         {{ form.comment_a4.errors }}
   150         {{ form.comment_a4.errors }}
   152         <label id='id_comment'>{{ form.comment_a4.label }}</label>{{ form.comment_a4 }}
   151         <label id='id_comment'>{{ form.comment_a4.label }}</label>{{ form.comment_a4 }}
   153       </p>
   152       </p>
   154       <p>
   153       <p>
   155         {{ form.attribute5.errors }}
   154         {{ form.attribute5.errors }}
   156         <strong>{{ form.attribute5.label }}</strong><br />
   155         <strong>{{ form.attribute5.label }}</strong><br />
   157         <input name="attribute5" type="radio" class="star" value="1"/>
   156         <input name="attribute5" type="radio" class="star" title="Poor" value="1"/>
   158         <input name="attribute5" type="radio" class="star" value="2"/>
   157         <input name="attribute5" type="radio" class="star" title="Average" value="2"/>
   159         <input name="attribute5" type="radio" class="star" value="3"/>
   158         <input name="attribute5" type="radio" class="star" title="Good" value="3"/>
   160         <input name="attribute5" type="radio" class="star" value="4"/>
   159         <input name="attribute5" type="radio" class="star" title="Very Good" value="4"/>
   161         <input name="attribute5" type="radio" class="star" value="5"/> 
   160         <input name="attribute5" type="radio" class="star" title="Excellent" value="5"/> 
   162         {% if form.attribute5.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   161         {% if form.attribute5.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   163       </p>
   162       </p>
   164       <p>
   163       <p>
   165         {{ form.comment_a5.errors }}
   164         {{ form.comment_a5.errors }}
   166         <label id='id_comment'>{{ form.comment_a5.label }}</label>{{ form.comment_a5 }}
   165         <label id='id_comment'>{{ form.comment_a5.label }}</label>{{ form.comment_a5 }}
   167       </p>
   166       </p>
   168       <p>
   167       <p>
   169         {{ form.attribute6.errors }}
   168         {{ form.attribute6.errors }}
   170         <strong>{{ form.attribute6.label }}</strong><br />
   169         <strong>{{ form.attribute6.label }}</strong><br />
   171         <input name="attribute6" type="radio" class="star" value="1"/>
   170         <input name="attribute6" type="radio" class="star" title="Poor" value="1"/>
   172         <input name="attribute6" type="radio" class="star" value="2"/>
   171         <input name="attribute6" type="radio" class="star" title="Average" value="2"/>
   173         <input name="attribute6" type="radio" class="star" value="3"/>
   172         <input name="attribute6" type="radio" class="star" title="Good" value="3"/>
   174         <input name="attribute6" type="radio" class="star" value="4"/>
   173         <input name="attribute6" type="radio" class="star" title="Very Good" value="4"/>
   175         <input name="attribute6" type="radio" class="star" value="5"/> 
   174         <input name="attribute6" type="radio" class="star" title="Excellent" value="5"/> 
   176         {% if form.attribute6.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   175         {% if form.attribute6.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   177       </p>
   176       </p>
   178       <p>
   177       <p>
   179         {{ form.comment_a6.errors }}
   178         {{ form.comment_a6.errors }}
   180         <label id='id_comment'>{{ form.comment_a6.label }}</label>{{ form.comment_a6 }}
   179         <label id='id_comment'>{{ form.comment_a6.label }}</label>{{ form.comment_a6 }}
   181       </p>
   180       </p>
   182       <p>
   181       <p>
   183         {{ form.attribute7.errors }}
   182         {{ form.attribute7.errors }}
   184         <strong>{{ form.attribute7.label }}</strong><br />
   183         <strong>{{ form.attribute7.label }}</strong><br />
   185         <input name="attribute7" type="radio" class="star" value="1"/>
   184         <input name="attribute7" type="radio" class="star" title="Poor" value="1"/>
   186         <input name="attribute7" type="radio" class="star" value="2"/>
   185         <input name="attribute7" type="radio" class="star" title="Average" value="2"/>
   187         <input name="attribute7" type="radio" class="star" value="3"/>
   186         <input name="attribute7" type="radio" class="star" title="Good" value="3"/>
   188         <input name="attribute7" type="radio" class="star" value="4"/>
   187         <input name="attribute7" type="radio" class="star" title="Very Good" value="4"/>
   189         <input name="attribute7" type="radio" class="star" value="5"/> 
   188         <input name="attribute7" type="radio" class="star" title="Excellent" value="5"/> 
   190         {% if form.attribute7.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   189         {% if form.attribute7.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   191       </p>
   190       </p>
   192       <p>
   191       <p>
   193         {{ form.comment_a7.errors }}
   192         {{ form.comment_a7.errors }}
   194         <label id='id_comment'>{{ form.comment_a7.label }}</label>{{ form.comment_a7 }}
   193         <label id='id_comment'>{{ form.comment_a7.label }}</label>{{ form.comment_a7 }}
   195       </p>
   194       </p>
   196       <p>
   195       <p>
   197         {{ form.attribute8.errors }}
   196         {{ form.attribute8.errors }}
   198         <strong>{{ form.attribute8.label }}</strong><br />
   197         <strong>{{ form.attribute8.label }}</strong><br />
   199         <input name="attribute8" type="radio" class="star" value="1"/>
   198         <input name="attribute8" type="radio" class="star" title="Poor" value="1"/>
   200         <input name="attribute8" type="radio" class="star" value="2"/>
   199         <input name="attribute8" type="radio" class="star" title="Average" value="2"/>
   201         <input name="attribute8" type="radio" class="star" value="3"/>
   200         <input name="attribute8" type="radio" class="star" title="Good" value="3"/>
   202         <input name="attribute8" type="radio" class="star" value="4"/>
   201         <input name="attribute8" type="radio" class="star" title="Very Good" value="4"/>
   203         <input name="attribute8" type="radio" class="star" value="5"/> 
   202         <input name="attribute8" type="radio" class="star" title="Excellent" value="5"/> 
   204         {% if form.attribute8.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   203         {% if form.attribute8.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   205       </p>
   204       </p>
   206       <p>
   205       <p>
   207         {{ form.comment_a8.errors }}
   206         {{ form.comment_a8.errors }}
   208         <label id='id_comment'>{{ form.comment_a8.label }}</label>{{ form.comment_a8 }}
   207         <label id='id_comment'>{{ form.comment_a8.label }}</label>{{ form.comment_a8 }}
   209       </p>
   208       </p>
   210       <p>
   209       <p>
   211         {{ form.attribute9.errors }}
   210         {{ form.attribute9.errors }}
   212         <strong>{{ form.attribute9.label }}</strong><br />
   211         <strong>{{ form.attribute9.label }}</strong><br />
   213         <input name="attribute9" type="radio" class="star" value="1"/>
   212         <input name="attribute9" type="radio" class="star" title="Poor" value="1"/>
   214         <input name="attribute9" type="radio" class="star" value="2"/>
   213         <input name="attribute9" type="radio" class="star" title="Average" value="2"/>
   215         <input name="attribute9" type="radio" class="star" value="3"/>
   214         <input name="attribute9" type="radio" class="star" title="Good" value="3"/>
   216         <input name="attribute9" type="radio" class="star" value="4"/>
   215         <input name="attribute9" type="radio" class="star" title="Very Good" value="4"/>
   217         <input name="attribute9" type="radio" class="star" value="5"/> 
   216         <input name="attribute9" type="radio" class="star" title="Excellent" value="5"/> 
   218         {% if form.attribute9.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   217         {% if form.attribute9.field.required %}<span class="specialclass">&nbsp;&nbsp;(required)</span>{% endif %}
   219       </p>
   218       </p>
   220       <p>
   219       <p>
   221         {{ form.comment_a9.errors }}
   220         {{ form.comment_a9.errors }}
   222         <label id='id_comment'>{{ form.comment_a9.label }}</label>{{ form.comment_a9 }}
   221         <label id='id_comment'>{{ form.comment_a9.label }}</label>{{ form.comment_a9 }}