Matt Welander
Matt Welander

Reputation: 8548

symfony2 twig render form 'choice' as list

How can I (in symfony2 twig) render the form control 'choice' (expanded, checkboxes) as list ('li's, or just with a 'br' inbetwwen each option) and not have all options appear on one line?

I guess I could bach a jQuery together, but isn't there a more native way?

Upvotes: 0

Views: 1147

Answers (1)

1ed
1ed

Reputation: 3668

You can override the appropriate theme block. There is a great description in the docs how to do that.

Upvotes: 2

Related Questions