2013-02-18 15:43:30 +00:00
|
|
|
%tr
|
|
|
|
- if subject.is_a?(BuildList)
|
2013-02-18 16:10:34 +00:00
|
|
|
%td= link_to "#{subject.id} (#{subject.project.name} - #{subject.arch.name})", subject
|
2013-02-18 15:43:30 +00:00
|
|
|
- else
|
|
|
|
%td= link_to "#{subject.platform.name}/#{subject.name}", [subject.platform, subject]
|
|
|
|
%td.actions
|
2013-02-19 18:07:55 +00:00
|
|
|
- field = subject.is_a?(BuildList) ? 'extra_containers' : 'extra_repositories'
|
|
|
|
= hidden_field_tag "build_list[#{field}][]", subject.id
|
2013-02-18 15:43:30 +00:00
|
|
|
%span.delete
|