hacken-in/hacken-in

View on GitHub
app/views/modules/common/_flash.html.haml

Summary

Maintainability
Test Coverage
- if flash[:notice]
  .success.alert-box{data: {alert: true}}
    = flash[:notice]
    %a.close ×
- if flash[:error]
  .error.alert-box{data: {alert: true}}
    = flash[:error]
    %a.close ×
- if flash[:alert]
  .info.alert-box{data: {alert: true}}
    = flash[:alert]
    %a.close ×