MorningPeak/app/views/contacts/show.html.slim
Arthur Poulet 7838150f59 remove contact.last_contact, fix contact.view_at
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
2015-07-18 16:12:19 +02:00

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'