-
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.
Allow unauthenticated user to view the terms and conditions page
- Loading branch information
1 parent
2113f8c
commit 8ebd000
Showing
3 changed files
with
19 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,8 +204,10 @@ | |
<p class="govuk-body"><a class="govuk-link" mailto="[email protected]">Email: [email protected]</a></p> | ||
|
||
<p class="govuk-body">Website: <a class="govuk-link" href="https://www.gov.uk/government/organisations/teaching-regulation-agency">https://www.gov.uk/government/organisations/teaching-regulation-agency</a></p> | ||
<%= form_with url: terms_and_conditions_path, method: :patch do |f| %> | ||
<%= f.govuk_submit "Accept" %> | ||
<% if current_dsi_user %> | ||
<%= form_with url: terms_and_conditions_path, method: :patch do |f| %> | ||
<%= f.govuk_submit "Accept" %> | ||
<% end %> | ||
<% end %> | ||
</div> | ||
</div> |
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