-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The teaching authority fields have been removed from countries so we can remove the references to them in various other places.
- Loading branch information
1 parent
d38cd58
commit 633fdc3
Showing
23 changed files
with
124 additions
and
447 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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
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
24 changes: 20 additions & 4 deletions
24
app/views/shared/_teaching_authority_contact_information.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,7 +1,23 @@ | ||
<%= render "shared/teaching_authority_contactable", contactable: region.country %> | ||
<% if region.teaching_authority_name.present? %> | ||
<p class="govuk-body" lang="<%= region.country.code %>"><%= region.teaching_authority_name %></p> | ||
<% end %> | ||
|
||
<% if region.teaching_authority_address.present? %> | ||
<p class="govuk-body app-teaching-authority-address" lang="<%= region.country.code %>"><%= region.teaching_authority_address %></p> | ||
<% end %> | ||
|
||
<% if region.country.teaching_authority_present? && region.teaching_authority_present? %> | ||
<p class="govuk-body">or</p> | ||
<% if region.teaching_authority_emails.present? %> | ||
<p class="govuk-body"> | ||
<% region.teaching_authority_emails.each do |email| %> | ||
<%= govuk_link_to email, "mailto:#{email}" %><br /> | ||
<% end %> | ||
</p> | ||
<% end %> | ||
|
||
<%= render "shared/teaching_authority_contactable", contactable: region %> | ||
<% if region.teaching_authority_websites.present? %> | ||
<p class="govuk-body"> | ||
<% region.teaching_authority_websites.each do |website| %> | ||
<%= govuk_link_to website, website %><br /> | ||
<% end %> | ||
</p> | ||
<% end %> |
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
app/views/shared/support_interface/forms/_status_sanctions_checks.html.erb
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
app/views/shared/support_interface/forms/_teaching_authority_form_fields.html.erb
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.