main
<%= render BlacklightModalComponent.new do |component| %> <% component.with_header { 'Workflow view' } %> <% component.with_body do %> <% if params[:raw] %> <%= @presenter.pretty_xml %> <% else %> <%= render 'show' %> <% end %> <% end %> <% end %>