From 1705e158889ade11d32a4316b1cbfb63c79085d7 Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Mon, 27 May 2024 16:56:31 +0100 Subject: [PATCH] Change when teaching qualification information is shown We only want it to be shown on the form for the teaching qualification, not the bachelors degree or additional qualification. --- app/views/teacher_interface/qualifications/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/teacher_interface/qualifications/_form.html.erb b/app/views/teacher_interface/qualifications/_form.html.erb index b263b50688..2cb8c1757b 100644 --- a/app/views/teacher_interface/qualifications/_form.html.erb +++ b/app/views/teacher_interface/qualifications/_form.html.erb @@ -20,6 +20,8 @@

If you have more than one teaching qualification enter the first one you received that qualifies you to teach. For example, if you have a bachelor’s and a master’s degree, and both qualify you to teach, enter the bachelor’s degree here.

You can add more qualifications later.

+ + <%= render "shared/teaching_qualification_information", region: @application_form.region %> <% elsif qualification.is_bachelor_degree? %>

Bachelor’s degree

Add details of your bachelor’s degree if your teaching qualification was separate.

@@ -28,8 +30,6 @@

Add any additional qualifications you have that relate to your teaching career. These must be of a <%= govuk_link_to "UK ‘level 6’ equivalent or above", "https://www.gov.uk/what-different-qualification-levels-mean/list-of-qualification-levels" %>.

<% end %> - <%= render "shared/teaching_qualification_information", region: @application_form.region %> - <%= f.govuk_fieldset legend: { text: t(qualification.locale_key, scope: %i[application_form qualifications form title]) } do %> <%= f.govuk_text_field :title, label: { text: t(qualification.locale_key, scope: %i[application_form qualifications form fields title]) },