Sha256: 002fdb2a20c682d5eb8afbf774c46d0c81a5d94842f5f52ff6dc9b68ccdf92c7
Contents?: true
Size: 881 Bytes
Versions: 1
Compression:
Stored size: 881 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.css.scss to app/assets/stylesheets and jquery-ui-form.js.coffee to app/assets/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.css.scss', 'app/assets/stylesheets/jquery-ui-form.css.scss' template 'jquery-ui-form.js', 'app/assets/javascripts/jquery-ui-form.js.coffee' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jquery-ui-form-0.1.3 | lib/generators/jquery_ui_form/install/install_generator.rb |