Packages

Adds helpful extras to Guardian like default mailer support, as well as out of the box controllers and routes

Current section

Files

Jump to
sentinel lib sentinel web templates password new.html.eex
Raw

lib/sentinel/web/templates/password/new.html.eex

<h2>Forgot your password?</h2>
<p>Enter your email address and we'll send you a link to reset your password.</p>
<%= form_for @conn, Config.router_helper.password_path(@conn, :create), [as: :password], fn f -> %>
<div class="field">
<%= label f, :email, class: "sentinel control-label" %><br />
<%= email_input f, :email, class: "sentinel form-control" %>
</div>
<div class="actions">
<%= submit "Send password reset instructions" %>
</div>
<% end %>
<%= render(Sentinel.SharedView, "links.html", assigns) %>