Packages

A flexible authentication (and more) solution for Phoenix

Current section

Files

Jump to
haytni priv templates password new.html.eex
Raw

priv/templates/password/new.html.eex

<h2><%%= Haytni.Gettext.dgettext("haytni", "Forgot your password?") %></h2>
<%%= form_for @changeset, <%= inspect web_module %>.Router.Helpers.password_path(@conn, :create), [as: :password], fn f -> %>
<%= ~s'<%= render #{inspect web_module}.Haytni.SharedView, "keys.html", changeset: @changeset, f: f, keys: Haytni.RecoverablePlugin.reset_password_keys() %\x3E' %>
<div class="form-group">
<%%= submit Haytni.Gettext.dgettext("haytni", "Send me reset password instructions") %>
</div>
<%= ~s'<%= render #{inspect web_module}.Haytni.SharedView, "links.html", assigns %\x3E' %>
<%% end %>