- if flash[:alert] .alert.alert-danger = flash[:alert] - if flash[:notice] .alert.alert-success = flash[:notice]