Error and success messages from form builder

This commit is contained in:
2020-05-06 23:16:34 +01:00
parent 8d79345095
commit f52b249834
4 changed files with 65 additions and 7 deletions

View File

@@ -274,9 +274,20 @@ return [
'url' => '/admin/positions'
],
[
'text' => 'Manage Forms',
'text' => 'Forms',
'icon' => 'fab fa-wpforms',
'url' => '/admin/forms'
'submenu' => [
[
'text' => 'All forms',
'icon' => 'far fa-list-alt',
'url' => '/admin/forms'
],
[
'text' => 'Form Builder',
'icon' => 'fas fa-fw fa-hammer',
'url' => '/admin/forms/builder'
]
]
]
]
],
@@ -336,7 +347,7 @@ return [
'plugins' => [
[
'name' => 'Datatables',
'active' => true,
'active' => false,
'files' => [
[
'type' => 'js',
@@ -420,5 +431,21 @@ return [
],
],
],
[
'name' => 'Toastr',
'active' => true,
'files' => [
[
'type' => 'js',
'asset' => false,
'location' => 'https://cdn.jsdelivr.net/npm/toastr@2.1.4/toastr.min.js'
],
[
'type' => 'css',
'asset' => false,
'location' => 'https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css'
]
]
]
],
];