8784: Fix test for latest firefox.
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_components_editable.html.erb
1 <table class="table pipeline-components-table" style="margin-top: -.1em">
2   <colgroup>
3     <col style="width: 20%" />
4     <col style="width: 20%" />
5     <col style="width: 20%" />
6     <col style="width: 40%" />
7   </colgroup>
8
9   <thead>
10     <tr>
11       <th>
12         component
13       </th><th>
14         script
15       </th><th>
16         parameter
17       </th><th>
18         value
19       </th>
20     </tr>
21   </thead>
22   <tbody>
23     <% @object.components.each do |k, component| %>
24       <% next if !component %>
25       <tr>
26         <td><%= k %></td>
27
28         <td><%= component[:script] %></td>
29
30         <td>script version</td>
31
32         <td>
33           <%= render_pipeline_component_attribute (editable && @object), :components, [k, :script_version], component[:script_version] %>
34         </td>
35       </tr>
36
37       <% component[:script_parameters].andand.each do |p, tv| %>
38         <tr>
39           <td style="border-top: none"></td>
40           <td style="border-top: none"></td>
41
42           <td class="property-edit-row"><%= p %></td>
43           <td class="property-edit-row"><%= render_pipeline_component_attribute (editable && @object), :components, [k, :script_parameters, p.to_sym], tv %></td>
44         </tr>
45       <% end %>
46     <% end %>
47   </tbody>
48 </table>