Packages

A flexible authentication (and more) solution for Phoenix

Current section

Files

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

priv/templates/unlock/new.html.eex

<h2><%%= Haytni.Gettext.dgettext("haytni", "Resend unlock instructions") %></h2>
<%%= form_for @changeset, <%= inspect web_module %>.Router.Helpers.unlock_path(@conn, :create), [as: :unlock], fn f -> %>
<%= ~s'<%= render #{inspect web_module}.Haytni.SharedView, "keys.html", changeset: @changeset, f: f, keys: Haytni.LockablePlugin.unlock_keys() %\x3E' %>
<div class="form-group">
<%%= submit Haytni.Gettext.dgettext("haytni", "Resend unlock instructions") %>
</div>
<%= ~s'<%= render #{inspect web_module}.Haytni.SharedView, "links.html", assigns %\x3E' %>
<%% end %>