Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

santry/error_handling_form_builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ErrorHandlingFormBuilder
========================

ErrorHandlingFormBuilder is a Rails plugin created from the "Keep Forms DRY" recipe in The Pragmatic Programmers' Advanced Rails Recipes (http://pragprog.com/titles/fr_arr/advanced-rails-recipes).


Example
=======

<% error_handling_form_for(@person) do |f| -%>
  <%= f.text_field  :first_name %>
  <%= f.text_field  :last_name, :label => 'Family Name' %>
  <%= f.date_select :birthday %>
  <%= f.select :sex, Person::SEX %>
  <%= f.text_area   :bio %>
  <%= f.submit 'Update' %>
<% end -%>


Copyright (c) 2008 The Pragmatic Programmers
Copyright (c) 2008 Sean Santry, released under the MIT license

About

Rails Form Builder based on the Pragmatic Programmers' Error Handling Form Builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages