mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Story #104525314 - change button text to accept/reject delete
This commit is contained in:
parent
98e27f94d5
commit
c40a282a63
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
- if (status == DomainStatus::PENDING_DELETE || status == DomainStatus::PENDING_DELETE_CONFIRMATION)
|
||||
= link_to(t(:apply_pending), admin_domain_pending_delete_path(f.object.id, f.object.id),
|
||||
= link_to(t(:accept_delete), admin_domain_pending_delete_path(f.object.id, f.object.id),
|
||||
method: :patch, data: { confirm: t(:are_you_sure) },
|
||||
class: 'btn btn-danger btn-xs')
|
||||
|
||||
= link_to(t(:delete_pending), admin_domain_pending_delete_path(f.object.id, f.object.id),
|
||||
= link_to(t(:reject_delete), admin_domain_pending_delete_path(f.object.id, f.object.id),
|
||||
method: :delete, data: { confirm: t(:are_you_sure) },
|
||||
class: 'btn btn-danger btn-xs')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue