comparison templates/snippet/rate_form_readonly.djhtml @ 212:172fef440a90 draft default tip

Code Cleanup in templates and CSS files.
author Ahsan Ali Shahid <ahsan.ali.shahid@gmail.com>
date Sun, 22 Sep 2013 04:16:20 +0500
parents be08e004d8b9
children
comparison
equal deleted inserted replaced
211:be08e004d8b9 212:172fef440a90
1 <div> 1 <div>
2 <table> 2 <table>
3 <tr><td>Total Votes:</td> 3 <tr><td>Total Votes:</td>
4 <td>{{ snippet.rating.votes }}</td> 4 <td>{{ snippet.rating.votes }} &nbsp; &nbsp; </td>
5 <td>&nbsp &nbsp</td>
6 <td>Rating:</td> 5 <td>Rating:</td>
7 <td>{% for x in "12345" %} 6 <td>
8 <input name="Rate" type="radio" class="star" disabled = "disabled" value="{{ forloop.counter }}" 7 {% for x in "12345" %}
9 {% if score == forloop.counter %} checked = "checked" {% endif%} >{% endfor %}</td></tr></table> 8 <input name="Rate" type="radio" class="star" disabled = "disabled"
9 value="{{ forloop.counter }}"
10 {% if score == forloop.counter %}
11 checked = "checked"
12 {% endif%} />
13 {% endfor %}
14 </td>
15 </tr>
16 </table>
10 </div> 17 </div>