| Path: | vendor/plugins/pretty_accessible_form/README |
| Last Update: | Wed Feb 06 11:14:39 -0500 2008 |
PrettyAccesibleForm
This creates a form tag to implement A List Aparts "Prettier Accessible Forms" alistapart.com/articles/prettyaccessibleforms
You will need to include the stylesheet; you may consider using the stylesheet_plugin from machinesmonstersandmadness.com/svn/plugins/trunk/stylesheet_include. for this.
script/plugin machinesmonstersandmadness.com/svn/plugins/trunk/pretty_accessible_form
Here‘s an example usage:
<% pa_form_for( :contact,:url => { :action => :contact_form }, :legend => "Contact Us") do |f| %>
<%= f.text_field :name %>
<%= f.text_field :email, :legend => "Email Address" %>
<%= f.text_area :message, :legend => "Your Message" %>
<%= f.submit "Contact Us" %>
<% end %>
Original idea from A List Aparts "Prettier Accessible Forms" alistapart.com/articles/prettyaccessibleforms
Rails implementation of pretty_accessible_form is copyright 2007, 2008 by Matt Williams
For more information contact matt@aetherical.com.
This is covered under a MIT License.