No commit activity in last 3 years
No release in over 3 years
Forms made easy!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

SimpleForm - Rails forms made easy.

Build Status

SimpleForm is really awesome, it supports bootstrap and Foundation yet. Now, i add AUI style to it, be sure to have a copy of the AUI stylesheet available on your application, you can get it on https://docs.atlassian.com/aui/latest . Enjoy it!

Installation

Add it to your Gemfile:

gem 'simple_form_awesome', '~> 2.5.0'

Run the following command to install it:

bundle install

Run the generator to install with AUI:

rails generate simple_form:install --aui

Inside your views, please add fieldset tag, and wrapper your submit or cancel under a div that class is field_group.

= simple_form_for @user do |form|
  %fieldset
  = f.input :name
  = f.input :description

  .field_group
    = f.submit :class => "aui-button aui-button-primary"
    = link_to "Cancel", "", :class => "aui-button aui-button-link"

License

MIT License. Copyright 2012 Plataformatec.