Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.42 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.42 KB

SimpleForm::Materialize

This gem includes a generator for SimpleForm configuration with MaterializeCSS. It also includes custom inputs for materialize.

Installation

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

Usage

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.

Contributing

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.

Further works

  • Add specs
  • Add custom inputs
  • Move SimpleForm::Inputs::Base mixin into gem rather than generating it (?)

License

The gem is available as open source under the terms of the MIT License.