774c5e9884
wip #22
41 lines
765 B
Plaintext
41 lines
765 B
Plaintext
h1.page-header Show contact
|
|
|
|
p
|
|
strong Client:
|
|
= link_to @contact.client.name, @contact.client
|
|
p
|
|
strong Name:
|
|
= @contact.name
|
|
p
|
|
strong Phone:
|
|
= @contact.phone
|
|
p
|
|
strong Email:
|
|
= @contact.email
|
|
p
|
|
strong View at:
|
|
= @contact.view_at
|
|
p
|
|
strong Note:
|
|
= @contact.note
|
|
p
|
|
strong Region:
|
|
= @contact.region
|
|
p
|
|
strong Department:
|
|
= @contact.department
|
|
p
|
|
strong Postal code:
|
|
= @contact.postal_code
|
|
p
|
|
strong Address:
|
|
= @contact.address
|
|
|
|
= link_to 'Edit', edit_contact_path(@contact), class: 'btn btn-sm btn-default'
|
|
= link_to 'Back', contacts_path, class: 'btn btn-sm btn-default'
|
|
|
|
#comments.container-fluid
|
|
h2.page-header Comments
|
|
= render partial: "/comments/about", locals: {commentable: @contact}
|
|
= render partial: "/comments/form"
|