<% if(success.length > 0){ %>
    <script>
      toastr.success('<%=success%>');
    </script>
<% } %>
  
<% if(errors.length > 0){ %>
    <script>
      toastr.error('<%=errors%>');
    </script>
<% } %>
<%- scriptFile -%> 
<%- include('function.ejs') %>