Smart Form plugin

Plugin details

Creates nicely laid out form fields for an ActiveRecord object, including it's content columns and association reflections.

Repositorysvn://rails.bleedingtrends.com/smart_form/trunk Author Michael Behan Tags form LicenseUnknown

Documentation

Install the plugin:
ruby script/plugin install svn://rails.bleedingtrends.com/smart_form/trunk

For an example style-sheet via:

  ruby script/generate SmartFormStyles



Usage:

  smart_form_for(symbol, options)


Examples:

  <% form_for people_url, :method => :post do %>
    <%= smart_form_for :person %>
  <% end %>

  <% form_for edit_person_url(@person) do %>
    <%= smart_form_for :person, :object => @person %>
  <% end %>


Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 9 months ago