Sha256: fea58981c28616d2d69894696812f9b6a42be0dcee1b49c4d51e9133ac04a420

Contents?: true

Size: 591 Bytes

Versions: 3

Compression:

Stored size: 591 Bytes

Contents

<h1>Get a login code</h1>

<% if (message = flash[:composable_pwdless]) %>
<div><%= message %></div>
  <p>Enter an email address to request a new login code and try again.</p>
<% else %>
  <p>We'll email you a login code so we can securely get you to your account</p>
<% end %>

<%= form_for @form, as: :composable_pwdless, url: url_for(action: :create), data: { turbo: false } do |f| %>
  <%= f.label :email %>
  <%= f.email_field :email, autofocus: true %>
  <%= f.submit "Continue" %>
<% end %>

<% if @form.errors.any? %>
  <p><%= @form.errors.full_messages.to_sentence %></p>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
composable-pwdless-0.0.12 app/views/composable/pwdless/auth/new.html.erb
composable-pwdless-0.0.11 app/views/composable/pwdless/auth/new.html.erb
composable-pwdless-0.0.10 app/views/composable/pwdless/auth/new.html.erb