Sha256: be8797a2db884a9b5b50975616bbec81d0516507e9cb53162ac776a2ef223d87
Contents?: true
Size: 837 Bytes
Versions: 3
Compression:
Stored size: 837 Bytes
Contents
module JqueryUiForm # Copies jquery-ui-form.sass to app/stylesheets and jquery-ui-form.js to public/javascirpts and a config initializer config/initializers/jquery-ui-form.rb # # @example # $ rails generate formtastic:install # class InstallGenerator < Rails::Generators::Base desc "Copies jquery-ui-form.sass to app/stylesheets and jquery-ui-form.js to public/javascirpts and a config initializer to config/initializers/jquery-ui-form.rb" source_root File.expand_path('../../../templates', __FILE__) def copy_files template 'jquery-ui-form.rb', 'config/initializers/jquery-ui-form.rb' template 'jquery-ui-form.sass', 'app/stylesheets/jquery-ui-form.sass' template 'jquery-ui-form.js', 'public/javascripts/jquery-ui-form.js' end end end
Version data entries
3 entries across 3 versions & 1 rubygems