overloading cell placeholder in order to apply styles
This commit is contained in:
parent
0054222008
commit
60b83917f7
|
@ -0,0 +1,8 @@
|
|||
{% load combo %}
|
||||
{% for cell in cells %}
|
||||
<div class="block cell {{ cell.css_class_name }} {% if cell.slug %}{{cell.slug}}{% endif %}"
|
||||
{% if cell.ajax_refresh %}
|
||||
data-ajax-cell-url="{% url 'combo-public-ajax-page-cell' page_pk=page.id cell_reference=cell.get_reference %}"
|
||||
data-ajax-cell-refresh="{{ cell.ajax_refresh }}"
|
||||
{% endif %}><div>{% render_cell cell %}</div></div>
|
||||
{% endfor %}
|
Reference in New Issue