Sha256: f6cc7c028ac3df7dfdad016c1d55be1bcb7a4cc893d3cd5744897b8468a6a161

Contents?: true

Size: 1.19 KB

Versions: 26

Compression:

Stored size: 1.19 KB

Contents

- if flash[:danger]
  .alert.alert-danger.alert-dismissible{ role: "alert" }
    %button.close{ 'type' => 'button', 'aria-hidden' => 'true', 'area-label' => 'true', 'data-dismiss' => 'alert' } ×
    - (flash[:danger].is_a?(Array) ? flash[:danger] : [flash[:danger]]).each do |msg|
      %span= msg

- if flash[:warning]
  .alert.alert-warning.alert-dismissible{ role: "alert" }
    %button.close{ 'type' => 'button', 'aria-hidden' => 'true', 'area-label' => 'true', 'data-dismiss' => 'alert' } ×
    - (flash[:warning].is_a?(Array) ? flash[:warning] : [flash[:warning]]).each do |msg|
      %span= msg

- if flash[:success]
  .alert.alert-success.alert-dismissible{ role: "alert" }
    %button.close{ 'type' => 'button', 'aria-hidden' => 'true', 'area-label' => 'true', 'data-dismiss' => 'alert' } ×
    - (flash[:success].is_a?(Array) ? flash[:success] : [flash[:success]]).each do |msg|
      %span= msg


- if flash[:info]
  .alert.alert-info.alert-dismissible{ role: "alert" }
    %button.close{ 'type' => 'button', 'aria-hidden' => 'true', 'area-label' => 'true', 'data-dismiss' => 'alert' } ×
    - (flash[:info].is_a?(Array) ? flash[:info] : [flash[:info]]).each do |msg|
      %span= msg

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
ditty-0.3.2 views/partials/notifications.haml
ditty-0.3.1 views/partials/notifications.haml
ditty-0.3.0 views/partials/notifications.haml
ditty-0.2.2 views/partials/notifications.haml
ditty-0.2.1 views/partials/notifications.haml
ditty-0.2.0 views/partials/notifications.haml
proxes-0.7.1 views/partials/notifications.haml
proxes-0.7.0 views/partials/notifications.haml
proxes-0.6.1 views/partials/notifications.haml
proxes-0.6.0 views/partials/notifications.haml
proxes-0.5.2 views/partials/notifications.haml
proxes-0.5.1 views/partials/notifications.haml
proxes-0.5.0 views/partials/notifications.haml
proxes-0.4.4 views/partials/notifications.haml
proxes-0.4.3 views/partials/notifications.haml
proxes-0.4.2 views/partials/notifications.haml
proxes-0.4.1 views/partials/notifications.haml
proxes-0.4.0 views/partials/notifications.haml
proxes-0.3.6 views/partials/notifications.haml
proxes-0.3.5 views/partials/notifications.haml