[Fix #1098] Custom TypesDePieceJustificativeField for Administrate
This commit is contained in:
parent
51b94e2f53
commit
c7b3bb0733
5 changed files with 26 additions and 1 deletions
|
@ -0,0 +1,4 @@
|
|||
.field-unit__label
|
||||
= f.label field.attribute
|
||||
.field-unit__field
|
||||
= f.text_field field.attribute
|
|
@ -0,0 +1 @@
|
|||
= field.to_s
|
|
@ -0,0 +1,12 @@
|
|||
- if field.data.any?
|
||||
%table.collection-data{ "aria-labelledby": "page-title" }
|
||||
%thead
|
||||
%tr
|
||||
%td.cell-label Libelle
|
||||
%tbody
|
||||
- field.data.order(:order_place).each do |f|
|
||||
%tr
|
||||
%td.cell-data
|
||||
= f.libelle
|
||||
- else
|
||||
Aucun
|
Loading…
Add table
Add a link
Reference in a new issue