<% content_for :title, "Check your phone" %> <%= form_with(model: resource, url: "/admin/two-factor-authentication", html: { method: :put }) do |f| %>
<%= f.govuk_error_summary %>

<%= content_for(:title) %>

We’ve sent you a text message with a security code.

<%= f.govuk_number_field :code, label: { text: "Security code", size: "m" }, width: 5, autocomplete: 'one-time-code', autofocus: true %> <%= f.govuk_submit "Submit" %>
<% end %>

<%= govuk_link_to "Not received a text message?", admin_two_factor_authentication_resend_path %>