-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from DFE-Digital/fix-success-page
Remove title and render teacher name when recording outcome
- Loading branch information
Showing
4 changed files
with
3 additions
and
7 deletions.
There are no files selected for viewing
2 changes: 0 additions & 2 deletions
2
app/views/appropriate_bodies/teachers/record_failed_outcome/show.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
app/views/appropriate_bodies/teachers/record_passed_outcome/show.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
<% page_data(title: "Success") %> | ||
|
||
<%= govuk_panel( | ||
title_text: "Success", | ||
text: "You have recorded a passing outcome for #{Teachers::Name.new(@teacher).full_name}" | ||
text: "You have recorded a pass outcome for #{@teacher_name}" | ||
) %> | ||
|
||
<%= govuk_button_link_to("Return to the homepage", ab_teachers_path, secondary: true) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters