style(manager): mandatory champ more visible
This commit is contained in:
parent
b8bfb55fb2
commit
bad4581a46
3 changed files with 7 additions and 2 deletions
|
@ -51,3 +51,8 @@
|
||||||
.cell-disabled {
|
.cell-disabled {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mandatory {
|
||||||
|
color: #A10005;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
%td{ class: cell_class(cell: :label) }
|
%td{ class: cell_class(cell: :label) }
|
||||||
= row.libelle
|
= row.libelle
|
||||||
- if row.mandatory?
|
- if row.mandatory?
|
||||||
%span.mandatory{ style: 'color: #A10005;' } *
|
%span.mandatory *
|
||||||
%td{ class: cell_class }
|
%td{ class: cell_class }
|
||||||
= I18n.t("activerecord.attributes.type_de_champ.type_champs.#{row.type_champ}")
|
= I18n.t("activerecord.attributes.type_de_champ.type_champs.#{row.type_champ}")
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
%td.cell-data
|
%td.cell-data
|
||||||
= type_de_champ.libelle
|
= type_de_champ.libelle
|
||||||
- if type_de_champ.mandatory?
|
- if type_de_champ.mandatory?
|
||||||
%span.mandatory{ style: 'color: #A10005;' } *
|
%span.mandatory *
|
||||||
%td.cell-data
|
%td.cell-data
|
||||||
= I18n.t("activerecord.attributes.type_de_champ.type_champs.#{type_de_champ.type_champ}")
|
= I18n.t("activerecord.attributes.type_de_champ.type_champs.#{type_de_champ.type_champ}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue