-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
29 lines (22 loc) · 706 Bytes
/
index.php
File metadata and controls
29 lines (22 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
*
* Forms for Kirby 3
*
* @version 0.0.1
* @author James Steel <https://hashandsalt.com>
* @copyright Hash&Salt <https://hashandsalt.com>
* @link https://github.com/HashandSalt/kirby3-forms
* @license MIT <http://opensource.org/licenses/MIT>
*/
namespace HashAndSalt\Slate;
use Kirby\Cms\App;
App::plugin('hashandsalt/forms', [
'functions' => require __DIR__ . '/lib/functions.php',
'snippets' => [
'forms/input' => __DIR__ . '/snippets/forms/input.php',
'forms/select' => __DIR__ . '/snippets/forms/select.php',
'forms/textarea' => __DIR__ . '/snippets/forms/textarea.php',
'forms/formMsg' => __DIR__ . '/snippets/forms/formMsg.php',
],
]);