<% content_for :css do %> .playbutton { color: white; background: rgb(91, 192, 222); border: 0px; border-radius: 3px; padding: 0px 3px; } .playbutton:hover { background: rgb(57, 179, 215); } <% end %> <% @objects.sort_by { |ob| ob[:created_at] }.reverse.each do |ob| %> <% end %>
id name owner components
<%= form_tag '/pipeline_instances' do |f| %> <%= hidden_field :pipeline_instance, :pipeline_template_uuid, :value => ob.uuid %> <%= button_tag nil, {class: 'playbutton', title: "Run #{ob.name}"} do %> <% end %> <% end %> <%= link_to_if_arvados_object ob %> <%= render_editable_attribute ob, 'name' %> <%= link_to_if_arvados_object ob.owner_uuid, friendly_name: true %> <%= ob.components.collect { |k,v| k.to_s }.join(", ") %>