app/views/layouts/flow_step.html.erb
<% if local_assigns.dig(:step_indicator, :steps).presence %>
<% content_for(:pre_flash_content) do %>
<%= render StepIndicatorComponent.new(
locale_scope: flow_namespace,
steps: step_indicator[:steps],
current_step: step_indicator[:current_step],
class: 'margin-x-neg-2 margin-top-neg-4 tablet:margin-x-neg-6 tablet:margin-top-neg-4',
) %>
<% end %>
<% end %>
<%= render(template: step_template, locals: local_assigns) %>