Sha256: 03bf3a67906ea84bf9178b0799afebd6b5b1eee099cfdee7b017c432f0a95fb2

Contents?: true

Size: 1.1 KB

Versions: 12

Compression:

Stored size: 1.1 KB

Contents

<% content_for :meta_title, 'Create your password' %>
<% content_for :meta_description, "You need to create a password so that we can log you in." %>

<h1>Create Your Password & We'll Log You Right In</h1>

<%= simple_form_for @user, :url => password_creation_path(@user.id), 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 %>
  <%= f.input :password_confirmation %>
  <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 'Create password and log in!', class: 'btn btn-primary' %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

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