Blueprint Accessible Forms plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install git://github.com/shift/accessible_form_builder.git
Installation
==========
git clone git://github.com/shift/accessible_form_builder.git vendor/plugins/accessible_form_builder
Usage
=========
Here's an example usage:
<% a_form_for :user, :url => users_path, :legend => "Login Details" do |f| %> <%= f.text_field :login, :label => "Username", :note => "This is visible to other users", :required => true %> <%= f.password_field :password, :label => "Password", :required => true %> <%= f.password_field :password_confirmation, :label => "Confirm Password", :required => true %> <%= f.separator "Personal Details" %> <%= f.text_field :firstname, :label => "First name", :required => true %> <%= f.text_field :lastname, :label => "Last name", :required => true %> <%= f.text_field :email, :label => "E-Mail", :required => true %> <%= f.separator "Location Details" %> <%= f.text_field :address, :label => "Location", :note => "(eg. New York, 90210, SE1 3SR)", :required => true %> <%= f.submit "Sign up" %> <% end %>
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: Guest, 6 days ago

