Sha256: 05c9e79a0680339ca378640814b91033762e92f8883c8366c2249f6130c077aa

Contents?: true

Size: 536 Bytes

Versions: 8

Compression:

Stored size: 536 Bytes

Contents

<% submit_message = 'proceed' if submit_message.blank? %>

<%= simple_form_for User.new, url: parse_email_path, html: { id: 'email-input-form' }, remote: true, method: 'post' do |f| %>
  <%= f.error_notification %>

  <% # had to remove autofocus: true because when form was embedded at the bottom of a page, the browser would scroll all the way down to the field in the page. %>
  <%= f.input :email, label: 'Please enter your email address' %>
  <br />
  <%= f.button :submit, submit_message, :class => 'btn btn-primary' %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tkh_authentication-0.9.17.2 app/views/reception/_email_input_form.html.erb
tkh_authentication-0.9.17.1 app/views/reception/_email_input_form.html.erb
tkh_authentication-0.9.17 app/views/reception/_email_input_form.html.erb
tkh_authentication-0.9.16 app/views/reception/_email_input_form.html.erb
tkh_authentication-0.9.15 app/views/reception/_email_input_form.html.erb
tkh_authentication-0.9.14 app/views/reception/_email_input_form.html.erb
tkh_authentication-0.9.13 app/views/reception/_email_input_form.html.erb
tkh_authentication-0.9.12 app/views/reception/_email_input_form.html.erb