7838150f59
all this modifications re done in contact - rename the column last_contact to view_at - fix view - add a link in /contact/index to update the view date
36 lines
609 B
Plaintext
36 lines
609 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.last_contact
|
|
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'
|