<% if flash.notice %> <%= govuk_notification_banner( title_text: 'Success', success: true, title_heading_level: 3, title_id: "swanky-notifications") do |notification_banner| notification_banner.heading(text: flash.notice) end %> <% end %> <%= content_for?(:content) ? yield(:content) : yield %>