Sha256: 6fa0f9470203d14ab9a03e520f9f7d061d0f8b85ea094e3d67813a12e27832ad

Contents?: true

Size: 434 Bytes

Versions: 8

Compression:

Stored size: 434 Bytes

Contents

- flash.each do |name, msg|
  - if name.to_s == 'alert'
    .alert.alert-danger
      = link_to "×".html_safe, '#', 'data-dismiss' => 'alert', 'aria-hidden' => 'true', class: 'close'
      i.icon-remove
      |   
      = msg
  - else
    .alert.alert-success
      = link_to "×".html_safe, '#', 'data-dismiss' => 'alert', 'aria-hidden' => 'true', class: 'close'
      i.icon-ok
      |   
      = msg

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails-replicator-0.1.7 templates/_flashes.html.slim.erb
rails-replicator-0.1.6 templates/_flashes.html.slim.erb
rails-replicator-0.1.5 templates/_flashes.html.slim.erb
rails-replicator-0.1.4 templates/_flashes.html.slim.erb
rails-replicator-0.1.3 templates/_flashes.html.slim.erb
rails-replicator-0.1.2 templates/_flashes.html.slim.erb
rails-replicator-0.1.1 templates/_flashes.html.slim.erb
rails-replicator-0.1.0 templates/_flashes.html.slim.erb