1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-28 23:40:41 +02:00

Slim Framework integration #118 #117

- base.html updates
This commit is contained in:
Awilum
2019-05-31 18:00:41 +03:00
parent 4a51153407
commit d2e83c2ccc

View File

@@ -153,8 +153,7 @@
</a>
<form id="{{ button.id }}" action="{{ button.link }}" method="POST" style="display: none;">
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
{{ csrf() }}
</form>
{% else %}
<a href="{{ button.link }}"
@@ -200,14 +199,11 @@
</div>
{% endif %}
['entries', 'templates', 'snippets', 'fieldsets', 'menus']
<div class="content {% if sidebar_menu_item in entry-editor-area %} entry-editor {% endif %}">
<div class="content entry-editor">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
{% block content %}{% endblock %}
</div> <!-- .col-md-12 -->
</div> <!-- .row -->
</div> <!-- .container-fluid -->