biffbangpow / silverstripe-bootstrap-5-forms
Adds templates for bootstrap 5 forms
Installs: 354
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Language:Scheme
Type:silverstripe-vendormodule
Requires
- silverstripe/cms: ^4|^5
README
Default button styles can be changed via yml config:
BiffBangPow\SilverstripeBootstrap5Forms\Bootstrap5Forms: submit_button_class: 'btn btn-danger' non_submit_button_class: 'btn btn-warning'
The module also supports Bootstrap's 'floating labels' functionality. This can be enabled in config with the following setting:
BiffBangPow\SilverstripeBootstrap5Forms\Bootstrap5Forms: enable_floating_labels: true
Based on https://github.com/axllent/silverstripe-bootstrap-forms