app/views/styleus/_styleus_partials.html.erb in styleus-0.0.7 vs app/views/styleus/_styleus_partials.html.erb in styleus-0.0.8
- old
+ new
@@ -1,3 +1,13 @@
-<%= content_for(:representation).html_safe %>
-<%= content_for(:html).html_safe %>
-<%= content_for(:helper).html_safe %>
+<% if content_for? :documentation %>
+ <section class="__documentation">
+ <%= content_for :documentation %>
+ </section>
+<% end %>
+
+<section class="__code_partials">
+ <%= _option_bar(component) %>
+
+ <%= content_for(:representation).html_safe %>
+ <%= content_for(:html).html_safe %>
+ <%= content_for(:helper).html_safe %>
+</section>
\ No newline at end of file