3140: revert multiple content tabs work
[arvados.git] / apps / workbench / app / views / projects / _show_featured.html.erb
1 <div class="row">
2   <% @objects[0..3].each do |object| %>
3   <div class="card arvados-object">
4     <div class="card-top blue">
5       <a href="#">
6         <img src="/favicon.ico" alt=""/>
7       </a>
8     </div>
9     <div class="card-info">
10       <span class="title"><%= @objects.name_for(object) || object.class_for_display %></span>
11       <div class="desc"><%= object.respond_to?(:description) ? object.description : object.uuid %></div>
12     </div>
13     <div class="card-bottom">
14       <%= render :partial => "show_object_button", :locals => {object: object, htmloptions: {class: 'btn-default btn-block'}} %>
15     </div>
16   </div>
17   <% end %>
18 </div>