Permalink
Browse files

Use ERB in the CHANGELOG [ci skip]

  • Loading branch information...
1 parent 377641e commit 0e9f0bd6f710e510496fafc402f5a74a03a502fd @rafaelfranca rafaelfranca committed Sep 23, 2013
Showing with 5 additions and 3 deletions.
  1. +5 −3 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*

0 comments on commit 0e9f0bd

Please sign in to comment.