rosa-build/app/views/platforms/maintainers/_list.html.slim

29 lines
1.1 KiB
Plaintext

= simple_form_for @maintainer, url: platform_maintainers_path(@platform), method: :get do |f|
fieldset
= f.input :name
.button_block
= submit_tag t('layout.search.header'), data: {'disable-with' => t('layout.processing')}, class: 'btn btn-sm btn-primary'
|  
= t('layout.or')
|  
a href=platform_maintainers_path(@platform)
= t('layout.clear')
table.table.table-striped
thead
tr
th.text-center= t("activerecord.attributes.maintainer.package_name")
th.text-center= t("activerecord.attributes.maintainer.package_type")
th.text-center= t("activerecord.attributes.maintainer.version")
th.text-center colspan=2
= t("activerecord.models.maintainer")
th.text-center= t("activerecord.attributes.maintainer.updated_at")
tbody
- MaintainerPresenter.present_collection(@maintainers) do |pr|
tr
td= pr.package_link
td= pr.package_type
td= pr.package_version_release
td= pr.maintainer_link
td= pr.maintainer_email_link.html_safe
td= pr.package_updated_at