tap/app/views/users/_new_order.html.erb

11 lines
432 B
Text
Raw Normal View History

<div class="thumbnail overview">
2015-02-09 17:06:24 +01:00
<% unless user.dagschotel.nil? %>
<%= link_to user_quickpay_path(user) do %>
<%= image_tag user.dagschotel.avatar, class: "img-circle dagschotel" %>
<% end %>
<% end %>
2015-02-09 17:06:24 +01:00
<%= 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>