The horizontal input class is useful if you need to have an input occupy the remainder of the row; otherwise, the default will work just as well:
For inputs that should be displayed in their own row, simply use the vertical inputs class:
Use this form for inline form elements. They will fold over to the next page when the screen resizes beyond them:
You can use the grid-system component to build any type of form layout. Simply use the grid classes:
Note: do not use the specific form classes to build the form (.form-field-horizontal
,.form-field-vertical
)
It may make sense to display sections of a form (fieldsets) beside each other. Do this using the grid: