Sha256: bc5813f253acb89a654e015415f5d64840be7672b783b65fdaf15d84c9c1f687

Contents?: true

Size: 960 Bytes

Versions: 26

Compression:

Stored size: 960 Bytes

Contents

<%= simple_form_for @user, :url => password_checking_path(@user.id), id: 'enter-you-password-form', method: :post do |f| %>
  <%= f.error_notification %>

  <p>Email: <strong><%= @user.email %></strong>. (<small><%= link_to "want to use a different email?", email_input_path %></small>)</p>
  <%= f.input :password, autofocus: true, hint: link_to("forgot your password?", i_forgot_my_password_path) %>
  <br />
  <%= f.input_field :remember_me, as: :boolean, boolean_style: :inline, checked: 'checked' %> &nbsp;remember me
  <br /><br />

  <% unless @user.visible_name_present? %>
    <p>Please take a few seconds to enter your name.</p>
    <%= f.input :first_name %>
    <%= f.input :last_name %>
    <% # i want certain sites to use a different label for this. They can add a partial in host app. %>
    <%= f.input :other_name, label: render('shared/other_name_label') %><br />
  <% end %>

  <%= f.submit 'log in!', class: 'btn btn-primary' %>
<% end %>

Version data entries

26 entries across 13 versions & 1 rubygems

Version Path
tkh_authentication-0.9.17.2 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.17.2 app/views/reception/_enter_your_password_form.js.erb
tkh_authentication-0.9.17.1 app/views/reception/_enter_your_password_form.js.erb
tkh_authentication-0.9.17.1 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.17 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.17 app/views/reception/_enter_your_password_form.js.erb
tkh_authentication-0.9.16 app/views/reception/_enter_your_password_form.js.erb
tkh_authentication-0.9.16 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.15 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.15 app/views/reception/_enter_your_password_form.js.erb
tkh_authentication-0.9.14 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.14 app/views/reception/_enter_your_password_form.js.erb
tkh_authentication-0.9.13 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.13 app/views/reception/_enter_your_password_form.js.erb
tkh_authentication-0.9.12 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.12 app/views/reception/_enter_your_password_form.js.erb
tkh_authentication-0.9.11 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.11 app/views/reception/_enter_your_password_form.js.erb
tkh_authentication-0.9.10 app/views/reception/_enter_your_password_form.html.erb
tkh_authentication-0.9.10 app/views/reception/_enter_your_password_form.js.erb