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-4.0.3 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-4.0.2 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-4.0.1 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-4.0.0 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-3.0.2 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-3.0.1 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-3.0.0 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-3.0.0.alpha1 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.36 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.35 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.34 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.33 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.32 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.31 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.30 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.29 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.28 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.27 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.26 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt
authentication-zero-2.16.25 lib/generators/authentication/templates/erb/two_factor_authentication/profile/security_keys/_form_edit.html.erb.tt