Sha256: 1964985fcea4e4c44e6dc14a5c0afd5f2b6dda0a6ea65f3caabc84824db79f25
Contents?: true
Size: 1.05 KB
Versions: 12
Compression:
Stored size: 1.05 KB
Contents
<%= render "layouts/koi/navigation_header" %> <%= form_with( model: admin_user, url: admin_session_path, data: { controller: "webauthn-authentication", webauthn_authentication_options_value: { publicKey: webauthn_auth_options }, }, ) do |f| %> <% unless flash.empty? %> <div class="govuk-error-summary"> <ul class="govuk-error-summary__list"> <% flash.each do |_, message| %> <%= tag.li message %> <% end %> </ul> </div> <% end %> <%= f.govuk_fieldset legend: nil do %> <%= f.govuk_email_field :email, autofocus: true, autocomplete: "email" %> <%= f.govuk_password_field :password, autocomplete: "current-password" %> <%= f.hidden_field :response, data: { webauthn_authentication_target: "response" } %> <% end %> <div class="actions-group"> <%= f.admin_save "Log in" %> <%= f.button "🔑", type: :button, class: "button button--secondary", data: { action: "webauthn-authentication#authenticate" } %> </div> <% end %>
Version data entries
12 entries across 12 versions & 1 rubygems