app/views/styleus/_styleus_partials.html.erb in styleus-0.0.9 vs app/views/styleus/_styleus_partials.html.erb in styleus-0.0.10
- old
+ new
@@ -4,10 +4,9 @@
</section>
<% end %>
<section class="__code_partials">
<%= _option_bar(component) %>
-
- <%= content_for(:representation).html_safe %>
+ <%= _styleus_component_wrap(partial_path: component.partial_path) { content_for(:representation).html_safe } %>
<%= content_for(:html).html_safe %>
<%= content_for(:helper).html_safe %>
</section>
\ No newline at end of file