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