Skip to content

Commit

Permalink
Change when teaching qualification information is shown
Browse files Browse the repository at this point in the history
We only want it to be shown on the form for the teaching qualification,
not the bachelors degree or additional qualification.
  • Loading branch information
thomasleese committed May 28, 2024
1 parent 0ac5550 commit 1705e15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/teacher_interface/qualifications/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<p class="govuk-body">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.</p>

<p class="govuk-body">You can add more qualifications later.</p>

<%= render "shared/teaching_qualification_information", region: @application_form.region %>
<% elsif qualification.is_bachelor_degree? %>
<h1 class="govuk-heading-l">Bachelor’s degree</h1>
<p class="govuk-body">Add details of your bachelor’s degree if your teaching qualification was separate.</p>
Expand All @@ -28,8 +30,6 @@
<p class="govuk-body">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" %>.</p>
<% 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]) },
Expand Down

0 comments on commit 1705e15

Please sign in to comment.