Sha256: 484117f22a453c6a5923cb9cecee8711af6a303bdf6c5efaf7ec09153a08f416

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 KB

Contents

<div class="pinfirmable-panel">
  <h1><%= t("confirm.title") %></h1>
  <p><%= simple_format t("confirm.body") %></p>
  <%= form_tag("/users/pinfirmable", method: "post", id: "pinfirmable-form") do %>
    <div id="pinfirmable-pin-inputs">
      <%= text_field_tag "digits[]", "", id: "digits_1", class: "pin-input", maxlength: "1", onKeyDown: "return pinfirmable.autoTab(event)", onFocus: "return this.select()", autocomplete: "off", autofocus: true %>
      <%= text_field_tag "digits[]", "", id: "digits_2", class: "pin-input", maxlength: "1", onKeyDown: "return pinfirmable.autoTab(event)", onFocus: "return this.select()", autocomplete: "off" %>
      <%= text_field_tag "digits[]", "", id: "digits_3", class: "pin-input", maxlength: "1", onKeyDown: "return pinfirmable.autoTab(event)", onFocus: "return this.select()", autocomplete: "off" %>
      <span class="pin-separator">&nbsp;</span>
        <%= text_field_tag "digits[]", "", id: "digits_4", class: "pin-input", maxlength: "1", onKeyDown: "return pinfirmable.autoTab(event)", onFocus: "return this.select()", autocomplete: "off" %>
        <%= text_field_tag "digits[]", "", id: "digits_5", class: "pin-input", maxlength: "1", onKeyDown: "return pinfirmable.autoTab(event)", onFocus: "return this.select()", autocomplete: "off" %>
        <%= text_field_tag "digits[]", "", id: "digits_6", class: "pin-input", maxlength: "1", onKeyDown: "return pinfirmable.autoTab(event)", onFocus: "return this.select()", autocomplete: "off" %>
    </div>
    <%= submit_tag("GO!", id: "pinfirmable-noscript") %>
  <% end %>
  <% if @locked_out %>
    <div class="pinfirmable-alert">
      <%= t("confirm.rate_limit") %>
    </div>
  <% end %>

  <%= form_tag("/users/pinfirmable/resend_email", method: "post", id: "pinfirmable-resend-form") do %>
    <%= submit_tag(t("confirm.no_email")) %>
  <% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pinfirmable-0.1.2 app/views/devise/pinfirmable/new.html.erb
pinfirmable-0.1.1 app/views/devise/pinfirmable/new.html.erb
pinfirmable-0.1.0 app/views/devise/pinfirmable/new.html.erb