Hello; I essentially was going to put two scripts in my view like so. However; I am wondering how I would put the first one inside of a module… that is how do you put it in the js/
folder?
Thanks
def render("scripts.html", _assigns) do
~s{<script defer src="https://www.google.com/recaptcha/api.js" async defer></script>}
|> raw
end
def render("scripts.html", assigns) do
~s{
<script type="text/javascript" src=#{
Routes.static_path(assigns.conn, "/js/select_all.js")
}></script>
}
|> raw
end