From 50dfb97590e30fd7d6fa24d6c7afd65d04fa60d8 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Tue, 18 Dec 2012 20:28:23 +0100 Subject: Fixed links in phone_book_entry#show --- app/views/phone_book_entries/_index_core.html.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app/views/phone_book_entries/_index_core.html.haml') diff --git a/app/views/phone_book_entries/_index_core.html.haml b/app/views/phone_book_entries/_index_core.html.haml index d9cfe10..9054833 100644 --- a/app/views/phone_book_entries/_index_core.html.haml +++ b/app/views/phone_book_entries/_index_core.html.haml @@ -28,7 +28,11 @@ %td.extra - if !entry.description.blank? %strong Description: - %div= entry.description + %div + = entry.description + - if !entry.homepage_organization.blank? + %br + =link_to entry.homepage_organization, entry.homepage_organization - if can? :edit, entry %td= link_to t('phone_book_entries.index.actions.edit'), edit_phone_book_phone_book_entry_path( entry.phone_book, entry ) - if can? :destroy, entry -- cgit v1.2.3