remove the field "customFieldsGroup" on custom field creation

The customFieldsGroup field is hidden when creating a new customFields.

The customFieldsGroup is retrieved from the url (`customFieldsGroup` value in the URL).

This should ease the task for administrator and be consistent with the UI which group customFields into customFieldsGroup.
This commit is contained in:
2015-11-08 21:18:03 +01:00
parent 421f54e194
commit cbcc722c0d
3 changed files with 48 additions and 12 deletions

View File

@@ -11,6 +11,7 @@ services:
class: Chill\CustomFieldsBundle\Form\CustomFieldType
arguments:
- "@chill.custom_field.provider"
- "@doctrine.orm.entity_manager"
tags:
- { name: 'form.type', alias: 'custom_field_choice' }