noesya/osuny

View on GitHub
app/views/application/_simple_notice.html.erb

Summary

Maintainability
Test Coverage
<% unless notice.blank? %>
  <div class="alert alert-success mt-2" role="alert"><%= notice.html_safe %></div>
<% end %>
<% unless alert.blank? %>
  <div class="alert alert-danger mt-2" role="alert"><%= alert.html_safe %></div>
<% end %>