2013-02-18 15:43:30 +00:00
|
|
|
%tr
|
2013-02-21 14:21:58 +00:00
|
|
|
- if extra.is_a?(BuildList)
|
|
|
|
%td= link_to "#{extra.id} (#{extra.project.name} - #{extra.arch.name})", extra
|
2013-02-18 15:43:30 +00:00
|
|
|
- else
|
2013-02-21 14:21:58 +00:00
|
|
|
%td= link_to "#{extra.platform.name}/#{extra.name}", [extra.platform, extra]
|
2013-02-18 15:43:30 +00:00
|
|
|
%td.actions
|
2013-02-22 11:04:14 +00:00
|
|
|
- field = extra.is_a?(BuildList) ? 'extra_build_lists' : 'extra_repositories'
|
2013-02-21 14:21:58 +00:00
|
|
|
= hidden_field_tag "build_list[#{field}][]", extra.id
|
2013-02-18 15:43:30 +00:00
|
|
|
%span.delete
|