mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
8 lines
448 B
Text
8 lines
448 B
Text
- if (status == DomainStatus::PENDING_UPDATE && f.object.pending_json.present?)
|
|
= link_to(t('.accept_btn'), 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('.reject_btn'), 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')
|