Skip to content

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