Skip to content

Commit

Permalink
Merge pull request #2411 from johanneskrtek/johanneskrtek-alert-dismi…
Browse files Browse the repository at this point in the history
…ssible

Add missing .alert-dismissible class to flash
  • Loading branch information
mshibuya committed Sep 28, 2015
2 parents 817e34b + 3be1f2f commit c4ab2fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/rails_admin/pjax.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
.page-header
%h1= @page_name
- flash && flash.each do |key, value|
.alert{class: flash_alert_class(key)}
%a.close{href: '#', :'data-dismiss' => "alert"} ×
.alert.alert-dismissible{class: flash_alert_class(key)}
%button.close{type: 'button', :'data-dismiss' => "alert"} ×
= value
= breadcrumb
%ul.nav.nav-tabs
Expand Down

0 comments on commit c4ab2fe

Please sign in to comment.