2014-10-27 22:09:18 +00:00
|
|
|
= render 'platforms/base/submenu'
|
|
|
|
|
2015-01-29 08:31:32 +00:00
|
|
|
.col-xs-12.col-md-10.col-md-offset-1
|
2014-10-27 22:09:18 +00:00
|
|
|
.row
|
|
|
|
- if can? :create, @platform.mass_builds.build
|
|
|
|
a.btn.btn-primary href=new_platform_mass_build_path(@platform)
|
|
|
|
= t('layout.mass_builds.new')
|
|
|
|
hr
|
|
|
|
|
|
|
|
= simple_form_for @mass_build, url: platform_mass_builds_path(@platform), method: :get do |f|
|
2014-10-29 21:18:49 +00:00
|
|
|
.row
|
|
|
|
.col-md-6
|
|
|
|
= f.input :description, label: false
|
|
|
|
.col-md-6
|
|
|
|
= f.button :submit, t('layout.search.header')
|
2014-10-27 22:09:18 +00:00
|
|
|
|
2014-10-28 19:20:23 +00:00
|
|
|
hr
|
2014-10-27 22:09:18 +00:00
|
|
|
table.table.table-striped
|
|
|
|
thead
|
|
|
|
tr
|
|
|
|
th= t('activerecord.attributes.mass_build.id')
|
|
|
|
th= t('activerecord.attributes.mass_build.name')
|
|
|
|
th= t('activerecord.attributes.mass_build.description')
|
|
|
|
th= t('activerecord.attributes.mass_build.created_at')
|
|
|
|
th
|
|
|
|
tbody
|
|
|
|
- @mass_builds.each do |mass_build|
|
|
|
|
tr
|
|
|
|
td= mass_build.id
|
|
|
|
td= link_to_mass_build(mass_build)
|
|
|
|
td= mass_build.description
|
|
|
|
td= mass_build.created_at.to_s
|
|
|
|
td= link_to t('layout.show'), platform_mass_build_path(@platform, mass_build.id)
|
|
|
|
|
|
|
|
= will_paginate @mass_builds
|