No commit activity in last 3 years
No release in over 3 years
A gem to automate using HungryForm with Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.4
~> 3.0

Runtime

>= 0.0.11, ~> 0.0
>= 3.2.1
 Project Readme

#Hungryform Rails Build Status

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

image

##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