<% if @user.photo.url.nil? %> <%= image_tag "https://upload.wikimedia.org/wikipedia/commons/8/89/Portrait_Placeholder.png", class: "img-circle img-profile"%> <% else %> <%= cl_image_tag @user.photo, class: "img-circle"%> <% end %>

<%= @user.first_name %> <%= @user.last_name %>

<%= @user.email %>

<%= link_to "Edit Information", user_edit_path(@user), class: "btn btn-primary vertical-margin" %> <%= link_to "Delete Account", user_path(@user), class: "btn btn-danger vertical-margin", method: :delete, data: { confirm: "Are you sure?" } %>