DRY-ed out notice alerts and put them into app/views/application_helper.rb with a view in app/views/shared/