Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding 'help' as reserved key for FieldDescription #484

Merged
merged 1 commit into from
Jan 10, 2012
Merged

Adding 'help' as reserved key for FieldDescription #484

merged 1 commit into from
Jan 10, 2012

Conversation

stefanosala
Copy link

I added help to 'setOptions' to make it work with Admin as this example:

{
    public function configureFormFields(FormMapper $formMapper)
    {
        $formMapper->add('foo', null, array(), array('help' => 'fooHelp'))
        ;
    }
}

and the template that is already created:

    <span class="help-block sonata-ba-field-help">{{ sonata_admin.field_description.help }}</span>
{% endif %}

rande added a commit that referenced this pull request Jan 10, 2012
Adding 'help' as reserved key for FieldDescription
@rande rande merged commit 16fbf45 into sonata-project:master Jan 10, 2012
ft-1408 pushed a commit to intexsys/SonataAdminBundle that referenced this pull request Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants