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

Allow to override label bootstrap col class attribute in templates #1419

Merged
merged 1 commit into from
Apr 25, 2014

Conversation

exu
Copy link
Contributor

@exu exu commented Apr 23, 2014

Now it's not possible to override e.g. in src/Sylius/Bundle/WebBundle/Resources/views/Frontend/Cart/summary.html.twig

line with label class attribute

{{ form_row(form.promotionCoupon, {'label_attr': {'class': 'col-lg-12'}}) }}

is always overriden by default value col-lg-2

@stloyd
Copy link
Contributor

stloyd commented Apr 25, 2014

@pjedrzejewski Looks good for me.

pjedrzejewski pushed a commit that referenced this pull request Apr 25, 2014
Allow to override label bootstrap col class attribute in templates
@pjedrzejewski pjedrzejewski merged commit 5ef1a89 into Sylius:master Apr 25, 2014
@pjedrzejewski
Copy link
Member

Thanks Jacek!

@exu exu deleted the fix/ui-form-label-bs-grid branch April 25, 2014 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX Issues and PRs aimed at improving User eXperience.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants