Source

cmsplugin-faq / cmsplugin_faq / templates / plugins / cmsplugin_faq / faq_list.html

The cms-2.X branch has multiple heads

Diff from to

File cmsplugin_faq/templates/plugins/cmsplugin_faq/faq_list.html

 
 <div class="faq-list">
+
     <ul>
 {% for faq_entry in faq_list %}
-        <li{% if css %} class="{{ css }}"{% endif %}><a href="#{{ faq_entry.topic|safe }}">{{ faq_entry.topic|safe }}</a>
-        <p>{{ faq_entry.body|safe|truncatewords_html:10 }}
+        <li{% if css %} class="{{ css }}"{% endif %}>
+
+            <div class="faq-entry-topic">
+                <a href="#{{ faq_entry.topic|safe }}">
+                    {{ faq_entry.topic|safe }}
+                </a>
+            <div>
+
+            <div class="faq-entry-body">
+                {{ faq_entry.body|safe|truncatewords_html:10 }}
+            <div>
+
         <hr>
 {% endfor %}
     </ul>
+
 </div>