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

// BO : added tooltip system #4681

Merged
merged 1 commit into from Jan 12, 2016
Merged

// BO : added tooltip system #4681

merged 1 commit into from Jan 12, 2016

Conversation

mickaelandrieu
Copy link
Contributor

Hi,

I suggest a generic way to add tooltip on each form field label.

I've introduced a macro:

ps.form_label_tooltip('field_name', 'this is an important tip, please read it')

From Form Types, use the tooltip label attribute:

$formBuilder->add('field_name', 'text', [
    'label_attr' => [
        'tooltip' => 'this is an important tip, please read it'
    ]
]);

Regards,

kelu95 added a commit that referenced this pull request Jan 12, 2016
@kelu95 kelu95 merged commit 9503470 into PrestaShop:develop Jan 12, 2016
@mickaelandrieu mickaelandrieu deleted the added-tooltip-system branch January 12, 2016 16:16
@mickaelandrieu
Copy link
Contributor Author

thanks for review @kelu95

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.

None yet

2 participants