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:
parent
377641e90c
commit
0e9f0bd6f7
1 changed files with 5 additions and 3 deletions
|
@ -1,8 +1,10 @@
|
||||||
* Ability to pass block to `select` helper
|
* Ability to pass block to `select` helper
|
||||||
|
|
||||||
= select(report, "campaign_ids") do
|
<%= select(report, "campaign_ids") do %>
|
||||||
- available_campaigns.each do |c|
|
<% available_campaigns.each do |c| -%>
|
||||||
%option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name
|
<%= content_tag(:option, c.name, value: c.id, data: { tags: c.tags.to_json }) %>
|
||||||
|
<% end -%>
|
||||||
|
<% end -%>
|
||||||
|
|
||||||
*Bogdan Gusiev*
|
*Bogdan Gusiev*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue