<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> 
<script src="/js/init.js"></script>
<% if (locals.success){ %>
    <script>
        document.addEventListener('DOMContentLoaded', () => 
        M.toast({html: '<%= success %>', classes: 'green lighten-1'}));
    </script>
<% } %>
<% if (locals.error){ %>
    <script>
        document.addEventListener('DOMContentLoaded', () => 
        M.toast({html: '<%= error %>', classes: 'red lighten-1'}));
    </script>
<% } %>
