Sha256: cbaf789f13f582070c73f62efee64c77e39deb5a0eb060cd9cf01b9de85bb5ad
Contents?: true
Size: 864 Bytes
Versions: 1
Compression:
Stored size: 864 Bytes
Contents
#Hungryform Rails [](https://travis-ci.org/andrba/hungryform-rails) This gem is an adaptor between the HungryForm gem and Rails. ##Installation: Add the hungryform gem to your Gemfile: ```ruby gem "hungryform-rails" ``` Add the Hungryform require to your application.js: ``` //= require hungryform ``` Add the Hungryform require to your application.css: ``` //= require hungryform ``` Use the following helper to generate the form in your views: ```ruby <%= hungry_form_for(@form) %> ``` ##Configuration This gem extends the configuration options provided by Hungryform. Create initializer in ```config/initializers/hungryform.rb``` and place the configuration code inside: ```ruby Hungryform.configure do |config| config.rails.elements_templates = 'hungryform' end ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hungryform-rails-0.0.3 | README.md |