<%= comp.label %>
<% if vertical %>
<%= partial "components/render", :locals => {:components => comp.components, :scope => nil} if comp.components.any? %>
<% end %>
<% if vertical %>
<% if comp.actions&.buttons %>
<% comp.actions.buttons.each do |button| %>
<%= partial "components/button", :locals => {:comp => button,
data_attributes: "data-stepper-#{button.stepper_type}",
event_parent_id: "#{comp.id}-content" }
%>
<% end %>
<% end %>
<% end %>