<% 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) if flash[:notification_banner_body] tag.p flash[:notification_banner_body] end end %> <% end %> <%= content_for?(:content) ? yield(:content) : yield %>