diff --git a/.erb-lint.yml b/.erb-lint.yml index b3f9655db6b..d4efff7188d 100644 --- a/.erb-lint.yml +++ b/.erb-lint.yml @@ -27,7 +27,6 @@ linters: - '*/app/views/event_disavowal/*' - '*/app/views/mfa_confirmation/*' - '*/app/views/reactivate_account/*' - - '*/app/views/service_provider_mfa/*' - '*/app/views/session_timeout/*' - '*/app/views/shared/*' - '*/app/views/two_factor_authentication/*' diff --git a/app/views/service_provider_mfa/new.html.erb b/app/views/service_provider_mfa/new.html.erb deleted file mode 100644 index 494dde1d9aa..00000000000 --- a/app/views/service_provider_mfa/new.html.erb +++ /dev/null @@ -1,40 +0,0 @@ -<% title t('titles.two_factor_setup') %> - -<% if @presenter.icon %> - <%= image_tag(asset_url(@presenter.icon), class: 'margin-bottom-3', alt: 'important alert icon') %> -<% end %> - -

<%= @presenter.heading %>

- -

<%== @presenter.intro %>

- -<%= validated_form_for @two_factor_options_form, - html: { autocomplete: 'off' }, - method: :patch, - url: two_factor_options_path do |f| %> -
-
- <%= t('forms.two_factor_choice.legend') %>: - <% @presenter.options.each do |option| %> - <%= label_tag "two_factor_options_form_selection_#{option.type}", - class: "btn-border col-12 margin-bottom-2 #{option.html_class}", - hidden: option.html_class == 'display-none' do %> -
- <%= radio_button_tag('two_factor_options_form[selection]', option.type) %> - - <%= option.label %> -
<%= option.info %>
-
- <% end %> - <% end %> -
-
- -
- <%= f.button :submit, t('forms.buttons.continue'), class: 'usa-button--big usa-button--wide margin-bottom-1' %> -
-<% end %> - -<%= render 'shared/cancel', link: destroy_user_session_path %> - -<%= javascript_packs_tag_once("webauthn-unhide-signup") %>