"Toasts" Alert Materialize with Rails

1

I am having a poor understanding of how to apply Materialize Toasts in a Rails code.

    <% if notice %>
      <p class="alert alert-success"><%= notice %></p>
    <% end %>
    <% if alert %>
      <p class="alert alert-danger"><%= alert %></p>
    <% end %>

Do not worry, it gives me these alerts, however I want to use the materialize effect.

    
asked by anonymous 13.09.2018 / 04:49

0 answers