Remove workflows from project content dialog (report)

This commit is contained in:
Jure Grabnar 2016-07-28 09:28:03 +02:00
parent daca739262
commit 797685fbf0

View file

@ -13,18 +13,13 @@
<%= form.check_box "experiment_#{experiment.id}", label: experiment.name, class: "project-all-cb" %>
<ul class="no-style experiment-contents-list">
<% experiment.my_module_groups.each do |my_module_group| %>
<li>
<%= form.check_box "module_group_#{my_module_group.id}", label: my_module_group.name, class: "project-all-cb" %>
<% if my_module_group.my_modules.present? then %>
<ul class="no-style experiment-contents-list">
<% my_module_group.ordered_modules.each do |my_module| %>
<li>
<%= form.check_box "modules[#{my_module.id}]", label: my_module.name %>
</li>
<% end %>
</ul>
<% end %>
</li>
<% if my_module_group.my_modules.present? then %>
<% my_module_group.ordered_modules.each do |my_module| %>
<li>
<%= form.check_box "modules[#{my_module.id}]", label: my_module.name %>
</li>
<% end %>
<% end %>
<% end %>
</ul>
</li>