Alert "Toasts" Materialize with Rails

Asked

Viewed 37 times

1

I am lacking in understanding of how to apply the Toasts of Materialize in a Rails code.

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

In Vise, he gives me these warnings, but I want to use the effect of materialize.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.