OSDN Git Service

element
[pettanr/pettanr.git] / app / views / ground_colors / _element.html.erb
index 5d1d59f..0a8579a 100644 (file)
@@ -1,3 +1,3 @@
-<div <%= raw elm.any_tag_attr() -%> class="pettanr-comic-ground-color" style="<%= elm.opt_div_style(spot) -%>">
+<%= content_tag :div, element.tag_attributes(:div, {'class' => "pettanr-comic-ground-color", 'style' => element.opt_div_style(spot)}) do %>
 
-</div>
+<% end %>