This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Run the following if you haven't already:
gem sources -a http://gems.github.com
Install the gem(s):
sudo gem install neorails-form_fu
form_fu /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Jul 06 18:39:35 -0700 2008 | [neorails] |
| |
LICENSE | Sun Jul 06 18:59:17 -0700 2008 | [neorails] |
| |
README | Sun Jul 06 22:38:06 -0700 2008 | [neorails] |
| |
form_fu.gemspec | Fri Oct 03 16:25:57 -0700 2008 | [neorails] |
| |
init.rb | Sun Jul 06 18:20:37 -0700 2008 | [neorails] |
| |
lib/ | Fri Oct 03 16:25:57 -0700 2008 | [neorails] |
| |
rails/ | Sun Jul 06 18:20:37 -0700 2008 | [neorails] |
| |
test/ | Sun Jul 06 18:20:37 -0700 2008 | [neorails] |
README
FormFu ====== FormFu is a Rails plugin that enables you to easily build nice, tableless forms Maintainer Info ====== Tyler Crocker NeoRails.com Looking for *the one* awesome rails developer to add to your project? I may be available to help out. Contact me at neorails@gmail.com. Installation ====== script/plugin install git://github.com/neorails/view_fu.git or # Add this to your environment.rb config.gem 'neorails-form_fu', :version => '>= 0.1', :lib => 'form_fu', :source => 'http://gems.github.com' Usage ====== Create a Basic Form for a Model <% build_form_for @widget do |f| %> <%= f.text_field :name %> <%= f.text_area :description %> <%= f.submit %> <% end %> -------- Create Fields for a Model <% build_fields_for @address do |a| %> <%= a.text_field :street %> <%= a.text_field :city %> <%= a.select :state, State.to_select %> <% end %> -------- Set up a label <%= f.text_field :name, :label => "Enter Your Name" %> -------- Change the separator <%= f.text_field :name, :separator => "" %> -------- Take a Block (adds it to the field div) <% f.text_field :name do %> <div class="hint"> please enter your name... </div> <% end %> -------- Add options to the field <%= f.text_field :name, :field => {:class => "left"} %> -------- Add an Error Messages Summary <%= f.error_messages %> -------- Access the originals form_for helpers (prepend _input to names) <%= f.text_field_input :name %> outputs only a text_field input tag Try my other plugins ====== If you like FormFu, you'll *love* ViewFu. It will help you deal with Stylesheets, Javascripts, Page titles, and adds tons of useful view helper methods. https://github.com/neorails/view_fu Copyright (c) 2008 NeoRails.com, released under the MIT license




