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.