Source

cmsplugin-poll / cmsplugin_poll / templates / cmsplugin_poll / latest_polls.html

Diff from to

File cmsplugin_poll/templates/cmsplugin_poll/latest_polls.html

 {% load i18n %}
+
 <h3>{% trans "Previous polls" %}</h3>
 {% if polls %}
-<ul>
-  {% for poll in polls %}
-  <li><a href="{% url cmsplugin_poll.views.results poll.id %}">{{ poll.question }}</a></li>
-  {% endfor %}
-</ul>
+  <ul>
+    {% for poll in polls %}
+      <li>
+        <a href="{% url cmsplugin_poll.views.results poll.id %}">
+          {{ poll.question }}
+        </a>
+      </li>
+    {% endfor %}
+  </ul>
 {% else %}
-<p>{% trans "No polls are available." %}</p>
+  <p>{% trans "No polls are available." %}</p>
 {% endif %}