mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Story#105314040 define contact partial's variable
This commit is contained in:
parent
484a3034b1
commit
dc7b5f481c
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
- domains = (contact || @contact).all_domains(page: params[:domain_page], per: 20, params: params)
|
- domains = contact.all_domains(page: params[:domain_page], per: 20, params: params)
|
||||||
#contacts.panel.panel-default
|
#contacts.panel.panel-default
|
||||||
.panel-heading
|
.panel-heading
|
||||||
.pull-left
|
.pull-left
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
.row
|
.row
|
||||||
.col-md-12= render 'admin/contacts/partials/statuses', contact: @contact
|
.col-md-12= render 'admin/contacts/partials/statuses', contact: @contact
|
||||||
.row
|
.row
|
||||||
.col-md-12= render 'admin/contacts/partials/domains'
|
.col-md-12= render 'admin/contacts/partials/domains', contact: @contact
|
||||||
|
|
||||||
- if @contact.legal_documents.present?
|
- if @contact.legal_documents.present?
|
||||||
.row
|
.row
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue