Sha256: 3779a86afafc5048483668d14409ab7f24ccf748fcb8aa73d9c0f62fc03fd276

Contents?: true

Size: 501 Bytes

Versions: 1

Compression:

Stored size: 501 Bytes

Contents

<:Body>
  {{ if page._reloading }}
    {{call_toast("Reloading...")}}
  {{ end }}
  {{ if channel.status == :reconnecting }}
    {{call_toast("Connection Lost... Trying to reconnect.")}}
  {{ end }}
  {{ if page._reconnected }}
    {{call_toast("Reconnected!")}}
  {{ end }}
  

  {{ flash.keys.each do |key| }}
    {{ if flash.send(:"_#{key}").present? }}
      {{ flash.send(:"_#{key}").each do |notice| }}
        {{call_toast(notice, map_key_class(key))}}
      {{ end }}
    {{ end }}
  {{ end }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
volt-materialize-notices-0.0.1 app/toast/views/notices/index.html