demarches-normaliennes/app/views/fields/champ_collection_field/_show.html.haml

12 lines
320 B
Text
Raw Normal View History

2019-02-19 12:38:33 +01:00
- if field.data.any?
%table.collection-data{ "aria-labelledby": "page-title" }
%thead
%tr
%td.cell-label Libelle
%td.cell-label Type de champ
%td.cell-label Rempli
%tbody
= render partial: "fields/champ_collection_field/row", collection: field.data, as: :row
2019-02-19 12:38:33 +01:00
- else
Aucun