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