From 432dd5d91a1f4acb1c9bca7467d11c0e95367c24 Mon Sep 17 00:00:00 2001 From: Ayumi Hamasaki <46076483+ayumihamasaki2@users.noreply.github.com> Date: Wed, 31 Jul 2019 15:46:20 +0100 Subject: [PATCH] Add role-form to all forms --- modules/cms/controllers/index/_sidepanel.htm | 6 ++++++ modules/system/controllers/updates/_install_plugins.htm | 1 + modules/system/controllers/updates/_install_themes.htm | 1 + plugins/october/demo/components/todo/default.htm | 1 + themes/demo/pages/ajax.htm | 2 +- themes/demo/partials/explain/ajax.htm | 2 +- 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/modules/cms/controllers/index/_sidepanel.htm b/modules/cms/controllers/index/_sidepanel.htm index c8eca67c1..e38e5059b 100644 --- a/modules/cms/controllers/index/_sidepanel.htm +++ b/modules/cms/controllers/index/_sidepanel.htm @@ -7,6 +7,7 @@ user->hasAccess('cms.manage_pages')): ?>
user->hasAccess('cms.manage_partials')): ?> user->hasAccess('cms.manage_layouts')): ?> user->hasAccess('cms.manage_content')): ?> user->hasAccess('cms.manage_assets')): ?> user->hasAccess(['cms.manage_pages', 'cms.manage_layouts', 'cms.manage_partials'])): ?> diff --git a/modules/system/controllers/updates/_install_themes.htm b/modules/system/controllers/updates/_install_themes.htm index 61fbd6ac5..f8bce5c63 100644 --- a/modules/system/controllers/updates/_install_themes.htm +++ b/modules/system/controllers/updates/_install_themes.htm @@ -2,6 +2,7 @@ diff --git a/plugins/october/demo/components/todo/default.htm b/plugins/october/demo/components/todo/default.htm index c9f7b228e..24429ec47 100644 --- a/plugins/october/demo/components/todo/default.htm +++ b/plugins/october/demo/components/todo/default.htm @@ -1,4 +1,5 @@ Calculator
- +