Skip to content

Commit 2a73b33

Browse files
authored
Merge pull request #2775 from DFE-Digital/assessment-section-bug-fic
Fix bug for assessment section that does not yield the top of form section
2 parents b164534 + 9cc3e39 commit 2a73b33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/views/assessor_interface/assessment_sections/show.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
<% if @view_object.show_form? %>
3030
<%= render "form", form: @form, view_object: @view_object %>
31-
<% end %>
32-
33-
<% if @view_object.show_english_language_exemption_content? %>
31+
<% elsif @view_object.show_english_language_exemption_content? %>
3432
<%= render "english_language_exemption_content", application_form: @view_object.application_form %>
33+
<% else %>
34+
<%= yield :assessment_section_top_of_form %>
3535
<% end %>

0 commit comments

Comments
 (0)