mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
17 lines
663 B
Text
17 lines
663 B
Text
= form_for([:admin, @domain], html: { class: 'form-horizontal' }) do |f|
|
|
= render 'shared/errors', object: @domain
|
|
- unless @domain.parent_valid?
|
|
%hr
|
|
.row
|
|
.col-md-8
|
|
.tab-content{style:'margin-top: 20px;'}
|
|
#general-tab.tab-pane.active
|
|
= 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')
|