Skip to content

Commit 1ade156

Browse files
committed
[ci skip] Use more modern tag.x call structure
1 parent ccad4b0 commit 1ade156

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actionview/lib/action_view/helpers/form_options_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ module FormOptionsHelper
129129
# A block can be passed to +select+ to customize how the options tags will be rendered. This
130130
# is useful when the options tag has complex attributes.
131131
#
132-
# select(report, "campaign_ids") do
132+
# select(report, :campaign_ids) do
133133
# available_campaigns.each do |c|
134-
# content_tag(:option, c.name, value: c.id, data: { tags: c.tags.to_json })
134+
# tag.option(c.name, value: c.id, data: { tags: c.tags.to_json })
135135
# end
136136
# end
137137
#

0 commit comments

Comments
 (0)