From a453ea93a962530cea560dbce4b89fbfa09c5a65 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Fri, 15 Jan 2016 12:55:55 +0100 Subject: [PATCH] Modal definition --- themes/grav/templates/pages.html.twig | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/themes/grav/templates/pages.html.twig b/themes/grav/templates/pages.html.twig index c803f94e..722ea5fe 100644 --- a/themes/grav/templates/pages.html.twig +++ b/themes/grav/templates/pages.html.twig @@ -287,13 +287,19 @@ {% if mode == 'list' %} -
- {% include 'partials/blueprints-new.html.twig' with { blueprints: admin.blueprints('pages/new'), data: context } %} -
-
- {% include 'partials/blueprints-new.html.twig' with { blueprints: admin.blueprints('pages/modular_new'), data: context } %} -
+
+ {% include 'partials/blueprints-new.html.twig' with { blueprints: admin.blueprints('pages/new'), data: context } %} +
+ +
+ {% include 'partials/blueprints-new-folder.html.twig' with { blueprints: admin.blueprints('pages/new_folder'), data: context } %} +
+ +
+ {% include 'partials/blueprints-new.html.twig' with { blueprints: admin.blueprints('pages/modular_new'), data: context } %} +
+ {% endif %} {% if mode == 'edit' %}