style(manager): mandatory champ more visible

This commit is contained in:
Colin Darie 2022-11-15 14:21:49 +01:00
parent b8bfb55fb2
commit bad4581a46
3 changed files with 7 additions and 2 deletions

View file

@ -51,3 +51,8 @@
.cell-disabled {
opacity: 0.6;
}
.mandatory {
color: #A10005;
font-size: 18px;
}

View file

@ -2,7 +2,7 @@
%td{ class: cell_class(cell: :label) }
= row.libelle
- if row.mandatory?
%span.mandatory{ style: 'color: #A10005;' } *
%span.mandatory *
%td{ class: cell_class }
= I18n.t("activerecord.attributes.type_de_champ.type_champs.#{row.type_champ}")

View file

@ -2,7 +2,7 @@
%td.cell-data
= type_de_champ.libelle
- if type_de_champ.mandatory?
%span.mandatory{ style: 'color: #A10005;' } *
%span.mandatory *
%td.cell-data
= I18n.t("activerecord.attributes.type_de_champ.type_champs.#{type_de_champ.type_champ}")