Sha256: 2a20d6640c122d6328f35f7625239ddb2ae07e28b52cf3b25060798ede806ad9

Contents?: true

Size: 668 Bytes

Versions: 7

Compression:

Stored size: 668 Bytes

Contents

<%= render_kpop title: "Register device" do %>
  <%= form_with model: current_admin.credentials.new,
                url:   admin_admin_user_credentials_path(current_admin),
                data:  {
                  controller:                          "webauthn-registration",
                  action:                              "submit->webauthn-registration#submit",
                  webauthn_registration_options_value: { publicKey: options },
                } do |form| %>
    <%= form.govuk_text_field :nickname %>
    <%= form.hidden_field :response, data: { webauthn_registration_target: "response" } %>

    <%= form.admin_save %>
  <% end %>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katalyst-koi-4.1.2 app/views/admin/credentials/new.html.erb
katalyst-koi-4.1.1 app/views/admin/credentials/new.html.erb
katalyst-koi-4.1.0 app/views/admin/credentials/new.html.erb
katalyst-koi-4.0.3 app/views/admin/credentials/new.html.erb
katalyst-koi-4.0.2 app/views/admin/credentials/new.html.erb
katalyst-koi-4.0.1 app/views/admin/credentials/new.html.erb
katalyst-koi-4.0.0 app/views/admin/credentials/new.html.erb