style(champ regex): shows delimiter as hint: they don't have to be filled
This commit is contained in:
parent
f4e3d2137b
commit
7aa0c7d0e8
2 changed files with 13 additions and 1 deletions
|
@ -538,6 +538,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
.type-de-champ-expression-reguliere {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
font-weight: bold;
|
||||
content: "/";
|
||||
}
|
||||
}
|
||||
|
||||
[data-react-component-value^="ComboMultiple"] {
|
||||
margin-bottom: $default-fields-spacer;
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
.cell.mt-1
|
||||
= form.label :expression_reguliere, for: dom_id(type_de_champ, :expression_reguliere) do
|
||||
= t('.expression_reguliere.labels.regex')
|
||||
.type-de-champ-expression-reguliere
|
||||
= form.text_field :expression_reguliere, class: "fr-input small-margin small", id: dom_id(type_de_champ, :expression_reguliere)
|
||||
|
||||
.cell.mt-1
|
||||
|
|
Loading…
Reference in a new issue