1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use ERB in the CHANGELOG [ci skip]

This commit is contained in:
Rafael Mendonça França 2013-09-23 11:11:26 -03:00
parent 377641e90c
commit 0e9f0bd6f7

View file

@ -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*