09.
Adding form-control to the input
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
3 Comments
Should I take the naming convention stuff talked about at the end of this to imply that if I added a block textarea_errors to a custom file, it would automagically be used in preference to the fallback form_errors?
Yep, that's right - if you had a `textarea_errors` block in that custom file (and registered that with Symfony in config.yml or via {% form_theme ... %}) then that block *would* automagically be used whenever rendering errors (but only for textarea fields). All other field types would still use the form_errors block. So, you probably wouldn't ever override `textarea_errors`, but that's the idea :).
Make sense?
Makes perfect sense. Very cool!
"Houston: no signs of life"
Start the conversation!