Sha256: 2d6edfe000980f995220023b4c875756053ab799ca9706d2bc07012b1f3c9d25

Contents?: true

Size: 528 Bytes

Versions: 24

Compression:

Stored size: 528 Bytes

Contents

<%%= form_with(url: two_factor_authentication_profile_security_key_path, method: :patch) do |form| %>
  <div>
    <%%= form.label :name, style: "display: block" %>
    <%%= form.text_field :name, value: @security_key.name, autofocus: true, required: true %>
    <div>e.g., Macbook Touch ID</div>
  </div>

  <div>
    <%%= form.submit "Save changes" %>
  </div>
<%% end %>

<br>

<div>
  <%%= button_to "Remove this security key...", two_factor_authentication_profile_security_key_path(@security_key), method: :delete %>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
authentication-zero-2.16.24 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.23 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.22 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.21 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt