zachinglis / rails-plugins

All my Rails plugins bundled up.

This URL has Read+Write access

commit  1cf0f32954830d17be93651852570da898d563b7
tree    cb1d37cab69efaeaa06460360d12315c6842693e
parent  32543ff255fac310ecc75a76a9dbd8df862a4ad5
rails-plugins / form_helper_fieldset / README
100644 23 lines (15 sloc) 0.364 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FormHelperFieldset
==================
 
Block method for creating the fieldset tag with or without a legend.
 
 
Example
=======
 
<% fieldset do %>
  <%= f.label :foo %>
  <%= f.text_field :foo %>
<% end %>
 
or
 
<% fieldset "Foo Options" do %>
  <%= f.label :foo %>
  <%= f.text_field :foo %>
<% end %>
 
Copyright (c) 2008 Zach Inglis, released under the MIT license