rosa-build/app/views/projects/build_lists/_extra.html.haml

9 lines
384 B
Plaintext
Raw Normal View History

2013-02-18 15:43:30 +00:00
%tr
- 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
%td= link_to "#{extra.platform.name}/#{extra.name}", [extra.platform, extra]
2013-02-18 15:43:30 +00:00
%td.actions
- field = extra.is_a?(BuildList) ? 'extra_build_lists' : 'extra_repositories'
= hidden_field_tag "build_list[#{field}][]", extra.id
2013-02-18 15:43:30 +00:00
%span.delete