Skip to content

Commit e8a870b

Browse files
committed
Ensuring there is a link to sign in as applicant on test and review environments
1 parent fb02a4e commit e8a870b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33

44
<% application_form = @view_object.application_form %>
55

6+
<% if FeatureFlags::FeatureFlag.active?(:personas) %>
7+
<%= govuk_notification_banner(title_text: "Important") do |notification_banner| %>
8+
<% notification_banner.with_heading(text: "Testing feature") %>
9+
<p class="govuk-body">Within this enviroment, you can sign in as the applicant of this application to help with testing.</p>
10+
<%= govuk_button_to "Sign in as applicant".html_safe, teacher_sign_in_persona_path(application_form.teacher) %>
11+
<% end %>
12+
<% end %>
13+
614
<%= render "linked_application_forms",
715
teacher: application_form.teacher,
816
email_used_as_reference_in_this_application_form: @view_object.email_used_as_reference_in_this_application_form?,

0 commit comments

Comments
 (0)