tap/app/views/orders/_user_list.html.erb

10 lines
441 B
Text
Raw Normal View History

2014-12-10 05:13:17 +01:00
<% 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) %>
2014-12-09 20:33:11 +01:00
2014-12-10 05:13:17 +01:00
<%= link_to user.name , new_user_order_path(user), class: "btn btn-info",
style: get_color_style(user) %>
</div>
<% end %>