<% if flash.notice && !flash.notice.include?("translation missing") %> <%= 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.html_safe) end %> <% end %> <%= content_for?(:content) ? yield(:content) : yield %>