diff --git a/app/views/admin/contacts/_form.haml b/app/views/admin/contacts/_form.haml index d1538ab4e..2e0553a98 100644 --- a/app/views/admin/contacts/_form.haml +++ b/app/views/admin/contacts/_form.haml @@ -3,9 +3,7 @@ = render 'shared/errors', object: contact .row .col-md-8 - .tab-content{style:'margin-top: 20px;'} - #general-tab.tab-pane.active - = render 'admin/shared/form/statuses', f: f, + = render 'admin/shared/form/statuses', f: f, model: 'contact', admin_statuses_map: Contact.admin_statuses_map, disabled_statuses: Contact::STATUSES - Contact.admin_statuses, diff --git a/app/views/admin/domains/_form.haml b/app/views/admin/domains/_form.haml index 087930c58..93b6be600 100644 --- a/app/views/admin/domains/_form.haml +++ b/app/views/admin/domains/_form.haml @@ -4,9 +4,7 @@ %hr .row .col-md-8 - .tab-content{style:'margin-top: 20px;'} - #general-tab.tab-pane.active - = render 'admin/shared/form/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,