Skip to content

1.0.0

Choose a tag to compare

@tomaj tomaj released this 22 Nov 12:36
· 40 commits to master since this release

Tagged on 2015-07-06.

Initial release.

Bootstrap 3 renderers for Nette Forms 2.3 (PHP 5.3.7+):

  • Tomaj\Form\Renderer\BootstrapRenderer renders a horizontal form (form-horizontal, labels in col-sm-3, controls in col-sm-9).
  • Tomaj\Form\Renderer\BootstrapInlineRenderer renders an inline form (form-inline).
  • Text inputs, selects and multi-selects get form-control; the first button gets btn btn-primary, the others btn btn-default; checkboxes and radio lists are wrapped for Bootstrap; errors are shown in an alert alert-danger box; the form gets novalidate.