diff --git a/app/controllers/admin/forms_controller.rb b/app/controllers/admin/forms_controller.rb index 446cd0a2a..43d6feb92 100644 --- a/app/controllers/admin/forms_controller.rb +++ b/app/controllers/admin/forms_controller.rb @@ -489,7 +489,6 @@ def form_params :hisp, :template, :kind, - :early_submission, :notes, :status, :title, @@ -583,7 +582,6 @@ def form_admin_options_params :template, :kind, :aasm_state, - :early_submission, :notes, :status, :title, diff --git a/app/serializers/form_serializer.rb b/app/serializers/form_serializer.rb index db1f0b998..c407911ff 100644 --- a/app/serializers/form_serializer.rb +++ b/app/serializers/form_serializer.rb @@ -27,7 +27,6 @@ class FormSerializer < ActiveModel::Serializer :success_text, :modal_button_text, :display_header_square_logo, - :early_submission, :user_id, :template, :uuid, diff --git a/app/serializers/full_form_serializer.rb b/app/serializers/full_form_serializer.rb index 7f491a1c8..9f52dc1bd 100644 --- a/app/serializers/full_form_serializer.rb +++ b/app/serializers/full_form_serializer.rb @@ -49,7 +49,6 @@ def links :success_text, :modal_button_text, :display_header_square_logo, - :early_submission, :template, :uuid, :short_uuid, diff --git a/app/views/admin/forms/_form_manager_options.html.erb b/app/views/admin/forms/_form_manager_options.html.erb index db6b91ac0..629aa6c3a 100644 --- a/app/views/admin/forms/_form_manager_options.html.erb +++ b/app/views/admin/forms/_form_manager_options.html.erb @@ -95,18 +95,6 @@ <%= f.text_field :expiration_date, class: "usa-input" %> -
- Display Organization Tag Logo -
- <%= f.check_box :early_submission, class: "usa-checkbox__input" %> - <%= f.label :early_submission, class: "usa-checkbox__label" do %> - Early Submission - - Display a submit button at the end of the first page in a multi-page form? - - <% end %> -
-
Load USWDS
diff --git a/app/views/components/forms/_custom.html.erb b/app/views/components/forms/_custom.html.erb index 2a28b518a..80097cbb5 100644 --- a/app/views/components/forms/_custom.html.erb +++ b/app/views/components/forms/_custom.html.erb @@ -89,13 +89,7 @@ <%- if (section != form.form_sections.first) || (section != form.form_sections.last) %>
- <%- if (section == form.form_sections.first) && form.early_submission? %> -
- <%= t 'form.answer_more_questions' %> -
- <%= link_to (t 'form.yes_keep_going'), "#next-page", class: "usa-button next-section", 'data-form-section-target' => "" %> - - <% elsif section != form.form_sections.last %> + <%- if section != form.form_sections.last %>