Skip to content

Commit

Permalink
confirm remove and cannot remove paragraphs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dp-daly committed Aug 16, 2024
1 parent 43b4e36 commit 8754c76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<%= t(".are_you_sure") %>
</label>

<%= simple_format(t(".it_is_your_responsibility")) %>
<%= govuk_button_to t(".delete_placement"),
placements_school_placement_path(@school, @placement),
warning: true,
Expand Down
6 changes: 2 additions & 4 deletions config/locales/en/placements/schools/placements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,11 @@ en:
page_title: "Are you sure you want to delete this placement? - %{subject_names}"
are_you_sure: Are you sure you want to delete this placement?
cancel: Cancel
it_is_your_responsibility: It is your responsibility to make sure that anyone relevant to organising this placement is aware it is being deleted.
delete_placement: Delete placement
can_not_remove:
page_title: "You cannot delete this placement - %{subject_names}"
title: You cannot delete this placement
description: |
This %{subject_names} placement cannot be deleted because it is assigned to a provider.
You must remove %{provider_name} from the placement before you can delete it.
description: '%{provider_name} must be removed from the placement before you can delete it.'
destroy:
placement_deleted: Placement deleted

0 comments on commit 8754c76

Please sign in to comment.