mirror of
https://github.com/internetee/registry.git
synced 2025-07-06 03:03:21 +02:00
8 lines
452 B
Text
8 lines
452 B
Text
- if (status == DomainStatus::PENDING_UPDATE && f.object.pending_json.present?)
|
|
= link_to(t(:apply_pending), admin_domain_pending_update_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_update_path(f.object.id, f.object.id),
|
|
method: :delete, data: { confirm: t(:are_you_sure) },
|
|
class: 'btn btn-danger btn-xs')
|