estimancy/projestimate

View on GitHub
app/views/devise/passwords/new.html.erb

Summary

Maintainability
Test Coverage
<h2>
  <%= I18n.t(:text_forgot_your_password) %>
</h2>

<hr>

<%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
  <%= f.error_notification %>

  <div class="form-inputs">
    <%= f.input :id_connexion, :label => I18n.t('login_name_or_email'), required: true, autofocus: true %>
  </div>

  </br>

  <div>
    <%= f.button :submit, I18n.t(:label_send_me_reset_password_instructions) %>
  </div>
<% end %>

<%= render "devise/shared/links" %>

<div class="login_page">
</div>