anyone-oslo/pages

View on GitHub
app/views/admin/users/new_password.html.erb

Summary

Maintainability
Test Coverage
<% content_for :page_title, "Log in &raquo; Forgotten password" %>
<% content_for :page_description, "Creating a new password" %>
<% content_for :body_class, "login" -%>

<div class="content">
<p>
  Did you lose your password? Don't worry, it happens.
</p>
<p>
  Simply enter your <strong>email address</strong> below, and we'll email you a new password.
</p>
</div>
<%= form_tag(reset_password_admin_users_path, method: :post) do %>
  <p>
    <%= text_field_tag(:email, "", size: 32, autocomplete: "email") %>
    <%= submit_tag "Find" %>
  </p>
</form>