diff --git a/docs/utils/form.md b/docs/utils/form/collection.md similarity index 79% rename from docs/utils/form.md rename to docs/utils/form/collection.md index 8a1bb53..ea856b5 100644 --- a/docs/utils/form.md +++ b/docs/utils/form/collection.md @@ -1,10 +1,4 @@ -# Form - -## File picker - -Murph provides a file picker using the file manager system: `App\Core\Form\FileManager\FilePickerType`. It allows you to pick an existing file or upload it. After saving, the file is previewed if possible. - -## Collection +# Collection When you need to manage a collection in a form, you can use `App\Core\Form\Type\CollectionType` with these options: diff --git a/docs/utils/form/file_picker.md b/docs/utils/form/file_picker.md new file mode 100644 index 0000000..7a080b2 --- /dev/null +++ b/docs/utils/form/file_picker.md @@ -0,0 +1,3 @@ +# File picker + +Murph provides a file picker using the file manager system: `App\Core\Form\FileManager\FilePickerType`. It allows you to pick an existing file or upload it. After saving, the file is previewed if possible. diff --git a/mkdocs.yml b/mkdocs.yml index 82fd115..81d5d79 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -88,10 +88,13 @@ nav: - Settings: - 'Global settings': settings/global.md - 'Navigation settings': settings/navigation.md - - Editors: - - TinyMCE: utils/editors/tinymce.md - - GrapesJS: utils/editors/grapesjs.md - - Editor.js: utils/editors/editorjs.md + - Form: + - Picker picker: utils/form/file_picker.md + - Collection: utils/form/collection.md + - Editors: + - TinyMCE: utils/editors/tinymce.md + - GrapesJS: utils/editors/grapesjs.md + - Editor.js: utils/editors/editorjs.md - Utils: - Cache Manager: utils/cache.md - Doctrine: utils/doctrine.md @@ -99,7 +102,6 @@ nav: - File attribute: utils/file_attribute.md - Mail notifier: utils/mail.md - Slug: utils/slug.md - - Form: utils/form.md - "A/B Testing": abtesting.md - Users: users.md - Tasks: tasks.md