foutje
This commit is contained in:
parent
addf41999a
commit
e1ee373b92
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
|||
<h3 class="header" style="background-color: #<%=get_color(user)%>;" ><%= user.full_name %></h3>
|
||||
<div class="caption">
|
||||
<% if user.avatar.exists? %>
|
||||
<%= link_to image_tag(user.avatar , class: "img-circle avatar"), new_user_order_path(user) %>
|
||||
<%= image_tag(user.avatar , class: "img-circle avatar") %>
|
||||
<% else %>
|
||||
<%= link_to image_tag("http://babeholder.pixoil.com/img/70/70", class: "img-circle avatar"), new_user_order_path(user) %>
|
||||
<%= image_tag("http://babeholder.pixoil.com/img/70/70", class: "img-circle avatar") %>
|
||||
<% end %>
|
||||
<p><strong>Name:</strong> <%= user.name %></p>
|
||||
<p><strong>Last name:</strong> <%= user.last_name %></p>
|
||||
|
|
Loading…
Reference in a new issue