diff --git a/actionview/CHANGELOG.md b/actionview/CHANGELOG.md index 56ceae116d..95136b5e0e 100644 --- a/actionview/CHANGELOG.md +++ b/actionview/CHANGELOG.md @@ -1,8 +1,10 @@ * Ability to pass block to `select` helper - = select(report, "campaign_ids") do - - available_campaigns.each do |c| - %option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name + <%= select(report, "campaign_ids") do %> + <% available_campaigns.each do |c| -%> + <%= content_tag(:option, c.name, value: c.id, data: { tags: c.tags.to_json }) %> + <% end -%> + <% end -%> *Bogdan Gusiev*