diff --git a/app/views/pages/_contact.html.erb b/app/views/pages/_contact.html.erb index c841d6c..0c791e5 100644 --- a/app/views/pages/_contact.html.erb +++ b/app/views/pages/_contact.html.erb @@ -6,11 +6,10 @@ <%= cl_image_tag contact.photo, class: "profile avatar dropdown-toggle img-circle", width:65%> <% end %>
- <% if contact.nil? || contact.nil? %> + <% if contact.first_name.nil? || contact.last_name.nil? %>

<%= contact.email %>

<% else %> -

<%= contact.email %>

- +

<%= contact.first_name %> <%= contact.last_name %>

<% end %>

Last call: <%= Time.now %>

@@ -44,12 +43,10 @@

- - <% if contact.nil? || contact.nil? %> + <% if contact.first_name.nil? || contact.last_name.nil? %>

<%= contact.email %>

<% else %> -

<%= contact.email %>

- +

<%= contact.first_name %> <%= contact.last_name %>

<% end %>