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

Add form_control_static #251

Merged
merged 4 commits into from
Jun 15, 2014

Conversation

bdemalglaive
Copy link
Contributor

add twig function form_control_static with 2 parameter : label, value
exemple : {{ form_control_static('label'|trans, formValue) }}
see http://getbootstrap.com/css/#forms-controls-static

And add Inline checkboxes or radio for form type entity or choice
exemple : ->add('gender', 'choice', [ 'attr' => ['inline'=> true ]])
see http://getbootstrap.com/css/#forms-controls

@florianeckerstorfer
Copy link
Member

Could you cleanup the form template? I think you changed every single line in the template with new indents which makes it extremely hard for me to review these changes.

@rdohms
Copy link
Contributor

rdohms commented Jun 13, 2014

Still should be fixed, but if you want to extract a quick diff to re-apply: https://github.com/braincrafted/bootstrap-bundle/pull/251/files?w=1

adding ?w=1 to the url makes whitespace changes be ignored in diff.

@florianeckerstorfer florianeckerstorfer merged commit a2be68e into braincrafted:develop Jun 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants