Skip to content

Rails gem which includes SimpleForm configuration generator and custom inputs for MaterializeSass users

License

Notifications You must be signed in to change notification settings

cmu-is-projects/simple_form-materialize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Rails gem which includes SimpleForm configuration generator and custom inputs for MaterializeSass users

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%