aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-02-01 20:12:52 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-02-02 14:52:59 -0200
commit5d8191a263c7439219b56ed5396ceebed981af2d (patch)
tree12f88c549b8a24e74435cf853d19f0b6e2ef2990 /railties/guides
parent0f234261552dae68b66d3d0271ef39c343082c36 (diff)
downloadrails-5d8191a263c7439219b56ed5396ceebed981af2d.tar.gz
rails-5d8191a263c7439219b56ed5396ceebed981af2d.tar.bz2
rails-5d8191a263c7439219b56ed5396ceebed981af2d.zip
Remove default class to collection_check_boxes and
collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França]
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/action_view_overview.textile12
1 files changed, 6 insertions, 6 deletions
diff --git a/railties/guides/source/action_view_overview.textile b/railties/guides/source/action_view_overview.textile
index bc03dd7ff3..ac5c9fa4d8 100644
--- a/railties/guides/source/action_view_overview.textile
+++ b/railties/guides/source/action_view_overview.textile
@@ -1153,11 +1153,11 @@ If <tt>@post.author_id</tt> is 1, this would return:
<html>
<input id="post_author_id_1" name="post[author_id]" type="radio" value="1" checked="checked" />
-<label class="collection_radio_buttons" for="post_author_id_1">D. Heinemeier Hansson</label>
+<label for="post_author_id_1">D. Heinemeier Hansson</label>
<input id="post_author_id_2" name="post[author_id]" type="radio" value="2" />
-<label class="collection_radio_buttons" for="post_author_id_2">D. Thomas</label>
+<label for="post_author_id_2">D. Thomas</label>
<input id="post_author_id_3" name="post[author_id]" type="radio" value="3" />
-<label class="collection_radio_buttons" for="post_author_id_3">M. Clark</label>
+<label for="post_author_id_3">M. Clark</label>
</html>
h5. collection_check_boxes
@@ -1189,11 +1189,11 @@ If <tt>@post.author_ids</tt> is [1], this would return:
<html>
<input id="post_author_ids_1" name="post[author_ids][]" type="checkbox" value="1" checked="checked" />
-<label class="collection_check_boxes" for="post_author_ids_1">D. Heinemeier Hansson</label>
+<label for="post_author_ids_1">D. Heinemeier Hansson</label>
<input id="post_author_ids_2" name="post[author_ids][]" type="checkbox" value="2" />
-<label class="collection_check_boxes" for="post_author_ids_2">D. Thomas</label>
+<label for="post_author_ids_2">D. Thomas</label>
<input id="post_author_ids_3" name="post[author_ids][]" type="checkbox" value="3" />
-<label class="collection_check_boxes" for="post_author_ids_3">M. Clark</label>
+<label for="post_author_ids_3">M. Clark</label>
<input name="post[author_ids][]" type="hidden" value="" />
</html>