mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
13 lines
637 B
Text
13 lines
637 B
Text
- content_for :actions do
|
|
= link_to(t(:add_new_status), '#', class: 'btn btn-primary js-add-status')
|
|
- if @domain.force_deletable?
|
|
= link_to(t(:set_force_delete), set_force_delete_admin_domain_path(@domain),
|
|
method: :post, data: { confirm: t(:are_you_sure) }, class: 'btn btn-warning')
|
|
- else
|
|
= link_to(t(:unset_force_delete), unset_force_delete_admin_domain_path(@domain),
|
|
method: :post, data: { confirm: t(:are_you_sure) }, class: 'btn btn-warning')
|
|
= link_to(t(:back_to_domain), [:admin, @domain], class: 'btn btn-default')
|
|
|
|
= render 'shared/title', name: "#{t(:edit)}: #{@domain.name}"
|
|
|
|
= render 'form'
|