mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +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
|
||||
.panel-heading
|
||||
.pull-left
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
.row
|
||||
.col-md-12= render 'admin/contacts/partials/statuses', contact: @contact
|
||||
.row
|
||||
.col-md-12= render 'admin/contacts/partials/domains'
|
||||
.col-md-12= render 'admin/contacts/partials/domains', contact: @contact
|
||||
|
||||
- if @contact.legal_documents.present?
|
||||
.row
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue