Hungryform Rails Build Status

This gem is an adaptor between the HungryForm gem and Rails.

Installation:

Add the hungryform gem to your Gemfile:

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:

<%= 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:

Hungryform.configure do |config|
  config.rails.elements_templates = 'hungryform'
end