Blueprint Accessible Forms plugin

Plugin details

This plugin is based upon pretty_accessible_form from http://machinesmonstersandmadness.com/svn/plugins/trunk/pretty_accessible_form and additionally on accessible_form_builder http://github.com/shift/accessible_form_builder with technical inspiration from Rick Olsen's labeled form builder

Websitehttp://rwvhp.com/ Repositorygit://github.com/shift/accessible_form_builder.git Author James Lindley Tags CSS, form, blueprint LicenseMIT

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 documentation

Edit plugin | (0 older versions) | Last edited by: Guest, 6 days ago