This gem includes a generator for SimpleForm configuration with MaterializeCSS. It also includes custom inputs for materialize.
Add this line to your application's Gemfile:
gem 'simple_form-materialize'
And then execute:
$ bundle
Or install it yourself as:
$ gem install simple_form-materialize
Run the SimpleForm configuration generator:
rails g simple_form:materialize:install
The generator will currently create an initializer and add it to your application as well as add a mixin to SimpleForm::Inputs::Base which is used by Character Count.
Bug reports and pull requests are welcome on GitHub at https://github.com/patricklindsay/simple_form-materialize. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
- Add specs
- Add custom inputs
- Move SimpleForm::Inputs::Base mixin into gem rather than generating it (?)
The gem is available as open source under the terms of the MIT License.