hogehoge.html.erb
<% flash.each do |key, value| %>
<div class="alert alert-<%= key %>"><%= value %></div>
<% end %>
I want to transrate into
hogehoge.html.slim
can anybody help me?
hogehoge.html.erb
<% flash.each do |key, value| %>
<div class="alert alert-<%= key %>"><%= value %></div>
<% end %>
I want to transrate into
hogehoge.html.slim
can anybody help me?
Something like below should do the work: