mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Contact/Domain statuses admin interface refactored #2785
This commit is contained in:
parent
ac0ca8c6dc
commit
e387ea4bb4
6 changed files with 58 additions and 54 deletions
|
@ -6,7 +6,12 @@
|
|||
.col-md-8
|
||||
.tab-content{style:'margin-top: 20px;'}
|
||||
#general-tab.tab-pane.active
|
||||
= render 'admin/domains/form_partials/statuses', f: f
|
||||
= render 'admin/shared/form/statuses', f: f,
|
||||
model: 'domain',
|
||||
admin_statuses_map: DomainStatus.admin_statuses_map,
|
||||
disabled_statuses: DomainStatus::STATUSES - DomainStatus.admin_statuses,
|
||||
not_deletable_statuses: DomainStatus.admin_not_deletable_statuses
|
||||
|
||||
.row
|
||||
.col-md-8.text-right
|
||||
= button_tag(t(:save), class: 'btn btn-primary')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue