-
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.
Merge pull request #1661 from DFE-Digital/remove-country-teaching-aut…
…hority Remove teaching authority fields from countries
- Loading branch information
Showing
26 changed files
with
183 additions
and
507 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.