Rewrite edit blocs and themes
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
|
||||
{% block body %}
|
||||
|
||||
{% include 'creative/_nav.html' %}
|
||||
{% include 'creative/_navtool.html' %}
|
||||
{% include theme+'/_nav.html' %}
|
||||
{% include theme+'/_navtool.html' %}
|
||||
|
||||
|
||||
{% for bloc in myblocs.values() %}
|
||||
|
||||
{% if blocEdit == bloc.name %}
|
||||
{% include 'creative/_'+bloc.type+'-edit.html' %}
|
||||
{% include theme+'/_'+bloc.type+'-edit.html' %}
|
||||
{% else %}
|
||||
|
||||
{% include 'creative/_'+bloc.type+'.html' %}
|
||||
{% include theme+'/_'+bloc.type+'.html' %}
|
||||
|
||||
<button class="btn btn-success btn-xl pull-right"
|
||||
style="margin-top:-7rem; margin-right:1rem;"
|
||||
|
||||
Reference in New Issue
Block a user