cosmetics
This commit is contained in:
parent
bd22ad2852
commit
2d95db5d52
6 changed files with 56 additions and 36 deletions
|
|
@ -43,37 +43,27 @@ h1
|
|||
table.table.table-striped
|
||||
thead
|
||||
tr
|
||||
th ID
|
||||
th
|
||||
= Check.human_attribute_name(:number)
|
||||
th
|
||||
= Check.human_attribute_name(:name)
|
||||
th
|
||||
= Check.human_attribute_name(:standard_ids)
|
||||
th
|
||||
= Check.human_attribute_name(:target_disability)
|
||||
= Check.human_attribute_name(:target_disabilities)
|
||||
th
|
||||
= Check.human_attribute_name(:applicability)
|
||||
th
|
||||
= Check.human_attribute_name(:external_number)
|
||||
th
|
||||
= Check.human_attribute_name(:conformity_level)
|
||||
tbody
|
||||
- @checks.each do |check|
|
||||
tr
|
||||
td = link_to check.id, check
|
||||
td
|
||||
= link_to(check.number, check)
|
||||
td
|
||||
= link_to check.t_name&.truncate(64), check
|
||||
= link_to check.display_label&.truncate(64), check
|
||||
td
|
||||
= link_to check.standards.map(&:t_name).join(", "), check
|
||||
td
|
||||
= link_to check.display_target_disabilities, check
|
||||
td
|
||||
= link_to check.display_applicabilities, check
|
||||
td
|
||||
= link_to check.external_number, check
|
||||
td
|
||||
= safe_display(check.conformity_level) { link_to _1, check }
|
||||
.my-3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue