tap/app/views/orders/_user_list.html.erb
2014-12-10 13:21:06 +01:00

9 lines
441 B
Text

<% users.each do |user| %>
<div class="thumbnail overview">
<%= link_to image_tag(user.dagschotel.avatar, class: "img-circle dagschotel"), user_quickpay_path(user) unless user.dagschotel.nil? %>
<%= 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>
<% end %>