diff --git a/app/assets/stylesheets/application.sass.scss b/app/assets/stylesheets/application.sass.scss index d53367f0c7..d4ffb6d277 100644 --- a/app/assets/stylesheets/application.sass.scss +++ b/app/assets/stylesheets/application.sass.scss @@ -84,3 +84,7 @@ ul.autocomplete__menu { .app-background-inset-text { background-color: #f3f2f1; } + +.app-float-right { + float: right !important; +} diff --git a/app/controllers/assessor_interface/suitability_records_controller.rb b/app/controllers/assessor_interface/suitability_records_controller.rb index c57243328b..1d475793c3 100644 --- a/app/controllers/assessor_interface/suitability_records_controller.rb +++ b/app/controllers/assessor_interface/suitability_records_controller.rb @@ -19,6 +19,8 @@ def index :application_forms, ).sort_by(&:name), ) + + render layout: "full_from_desktop" end def new diff --git a/app/javascript/suitability_record_form.js b/app/javascript/suitability_record_form.js index 1314f21da7..d72591cf32 100644 --- a/app/javascript/suitability_record_form.js +++ b/app/javascript/suitability_record_form.js @@ -89,7 +89,7 @@ function SuitabilityRecordForm(params) { ).parentElement; this.setUp( - "application reference number", + "application reference", this.referenceAddButton, this.referenceRemoveButtons, this.referenceContainer, diff --git a/app/views/assessor_interface/suitability_records/_form_fields.html.erb b/app/views/assessor_interface/suitability_records/_form_fields.html.erb index 505edcaea4..bbe17f82de 100644 --- a/app/views/assessor_interface/suitability_records/_form_fields.html.erb +++ b/app/views/assessor_interface/suitability_records/_form_fields.html.erb @@ -20,7 +20,7 @@ options_for_select(locations, @form.location), options: { include_blank: true } %> -<%= f.govuk_date_field :date_of_birth, legend: { size: "s" }, maxlength_enabled: true, date_of_birth: true %> +<%= f.govuk_date_field :date_of_birth, legend: { size: nil }, maxlength_enabled: true, date_of_birth: true %>
<% if @form.emails.blank? %> @@ -36,7 +36,7 @@ <% end %>
-<%= govuk_button_link_to "Add another email", "#", id: "app-add-email-button", secondary: true %> +<%= govuk_button_link_to "Add another email address", "#", id: "app-add-email-button", secondary: true %>
<% if @form.references.blank? %> @@ -46,12 +46,12 @@ <%= f.govuk_text_field :references, multiple: true, value: %> <% if index > 0 %> - <%= govuk_button_link_to "Remove alias", "#", class: "app-remove-reference-button", secondary: true %> + <%= govuk_button_link_to "Remove application reference", "#", class: "app-remove-reference-button", secondary: true %> <% end %> <% end %> <% end %>
-<%= govuk_button_link_to "Add another application reference number", "#", id: "app-add-reference-button", secondary: true %> +<%= govuk_button_link_to "Add another application reference", "#", id: "app-add-reference-button", secondary: true %> <%= f.govuk_text_area :note %> diff --git a/app/views/assessor_interface/suitability_records/index.html.erb b/app/views/assessor_interface/suitability_records/index.html.erb index 65870e9e02..a3c466dd18 100644 --- a/app/views/assessor_interface/suitability_records/index.html.erb +++ b/app/views/assessor_interface/suitability_records/index.html.erb @@ -4,14 +4,22 @@

<%= title %>

-<%= govuk_button_link_to "Add a new entry", %i[new assessor_interface suitability_record] %> +<%= govuk_button_link_to "Add a new record", %i[new assessor_interface suitability_record] %> <% @records.each_with_index do |suitability_record, index| %> <% unless index.zero? %> -
+
+
+
<% end %>
+ +

<%= govuk_link_to suitability_record.name, [:edit, :assessor_interface, suitability_record] %>

<%= govuk_summary_list(actions: false) do |summary_list| diff --git a/config/locales/helpers.en.yml b/config/locales/helpers.en.yml index 8665f723cd..be3155555e 100644 --- a/config/locales/helpers.en.yml +++ b/config/locales/helpers.en.yml @@ -6,7 +6,7 @@ en: given_names: Type the updated given names in the text box below family_name: Type the updated family name in the text box below assessor_interface_archive_suitability_record_form: - note: "Internal note: Briefly explain why this suitability record is being archived." + note: "Internal note: Briefly explain why you have archived this suitability record." assessor_interface_assessment_section_form: selected_failure_reasons: Select all options that are relevant to you. failure_reason_notes: @@ -20,7 +20,7 @@ en: assessor_interface_filter_form: reference: "Example: 210245" assessor_interface_suitability_record_form: - note: "Internal note: Briefly explain why this suitability record has been created." + note: "Internal note: Briefly explain why you have created this suitability record." assessor_interface_work_history_contact_form: name: Type the updated full name in the text box below job: Type the updated job title in the text box below @@ -149,7 +149,7 @@ en: emails: Email address (optional) location: Country trained in note: Suitability reasons - references: Application reference number (optional) + references: Application reference (optional) assessor_interface_verify_professional_standing_form: verify_professional_standing_options: true: Yes, verify LoPS