tap/app/views/users/_new_order.html.erb
2015-02-09 17:06:24 +01:00

10 lines
432 B
Text

<div class="thumbnail overview">
<% unless user.dagschotel.nil? %>
<%= link_to user_quickpay_path(user) do %>
<%= image_tag user.dagschotel.avatar, class: "img-circle dagschotel" %>
<% end %>
<% end %>
<%= link_to image_tag(user.avatar , class: "img-circle avatar"), new_user_order_path(user) %>
<%= link_to user.name , new_user_order_path(user), class: "btn btn-info", style: get_color_style(user) %>
</div>