public
Fork of rubypond/semantic_form_builder
Description: A custom builder (and some helper methods) for creating consistent and accessible forms in rails
Homepage: http://rubypond.com
Clone URL: git://github.com/gdagley/semantic-form-builder.git
update README with new instructions
gdagley (author)
Fri Jul 18 22:18:35 -0700 2008
commit  a6273b46cd4ee7239714b1057b1f333094c439ae
tree    9d356a21aa617cf137c8559894ce749183134311
parent  afee07f4f8d62069cd37096c2566d9cc2418b2ad
0
...
11
12
13
14
15
16
17
18
19
20
21
 
 
 
 
 
 
 
22
23
24
25
 
26
27
28
...
11
12
13
 
 
 
 
 
 
 
 
14
15
16
17
18
19
20
21
22
23
 
24
25
26
27
0
@@ -11,18 +11,17 @@ http://rubypond.com/articles/2008/07/16/sexy-forms-in-rails/
0
 
0
 == Installation
0
 
0
-1. Grab the latest files from
0
- git://github.com/rubypond/semantic-form-builder.git
0
-2. Move forms.css into /public/stylesheets in your Rails app
0
-3. Move semantic_form_helper into /app/helpers and add the following to application.rb
0
- helper :semantic_form
0
-4. Move sematnic_form_builder into somewhere accessible to Rails (I typically
0
- stick with /lib)
0
-5. If you wish to use the builder to replace the default for all forms (which
0
+ cd vendor/plugins
0
+ git clone git://github.com/gdagley/semantic-form-builder.git semantic_form_builder
0
+ rm -rf semantic_form_builder/.git
0
+ cd ../../
0
+ rake semantic_form_builder:setup
0
+
0
+1. If you wish to use the builder to replace the default for all forms (which
0
    is great for consistency) then add the following into an initializer
0
     ActionView::Base.default_form_builder = SemanticFormBuilder
0
    Otherwise pass the builder in as the :builder parameter for form_for
0
-6. Be sure to include forms.css in your layout
0
+2. Be sure to include semantic_forms.css in your layout
0
 
0
 == Usage
0
 

Comments

    No one has commented yet.