Sha256: fd3d0e92b6e9e7f92de65c88bb212844bca962cd23d614137cc5813b6ec37a70

Contents?: true

Size: 566 Bytes

Versions: 8

Compression:

Stored size: 566 Bytes

Contents

module SimpleForm
  module Materialize
    module Generators
      class InstallGenerator < Rails::Generators::Base
        source_root File.expand_path('../templates', __FILE__)
        desc "Creates an initializer file at config/initializers/materialize-form. Which is used to configure SimpleForm to be used in conjunction with MaterializeSass. Also adds a length component which is used for Character Count feature."

        def create_initializer_file
          template "config/initializers/simple_form_materialize.rb"
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
materialize-form-1.0.8 lib/generators/simple_form/materialize/install_generator.rb
materialize-form-1.0.7 lib/generators/simple_form/materialize/install_generator.rb
materialize-form-1.0.6 lib/generators/simple_form/materialize/install_generator.rb
materialize-form-1.0.5 lib/generators/simple_form/materialize/install_generator.rb
materialize-form-1.0.4 lib/generators/simple_form/materialize/install_generator.rb
materialize-form-1.0.3 lib/generators/simple_form/materialize/install_generator.rb
materialize-form-1.0.2 lib/generators/simple_form/materialize/install_generator.rb
materialize-form-1.0.1 lib/generators/simple_form/materialize/install_generator.rb