diff --git a/app/controllers/admin/forms_controller.rb b/app/controllers/admin/forms_controller.rb index 472e8e5e2..42ba6e69b 100644 --- a/app/controllers/admin/forms_controller.rb +++ b/app/controllers/admin/forms_controller.rb @@ -502,7 +502,6 @@ def form_params :hisp, :template, :kind, - :early_submission, :notes, :status, :title, @@ -576,7 +575,6 @@ def form_admin_options_params :template, :kind, :aasm_state, - :early_submission, :enable_turnstile, :append_id_to_success_text, :notes, 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 f7c49ee9d..90f789ccf 100644 --- a/app/views/admin/forms/_form_manager_options.html.erb +++ b/app/views/admin/forms/_form_manager_options.html.erb @@ -92,7 +92,7 @@
YYYY-MM-DD
- <%= f.date_field :expiration_date, class: "usa-input" %> + <%= f.text_field :expiration_date, class: "usa-input" %>
@@ -107,18 +107,6 @@ <% end %>
-
- 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 34c23e7fa..08a95b45e 100644 --- a/app/views/components/forms/_custom.html.erb +++ b/app/views/components/forms/_custom.html.erb @@ -91,13 +91,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 %>