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' %> 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