mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 00:53:48 +00:00
improve money type rendering + DQL "jsonbexistsInArray"
This commit is contained in:
@@ -6,4 +6,16 @@ textarea {
|
||||
|
||||
span.force-inline-label label {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
||||
.chill-form-money {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-end;
|
||||
|
||||
span.chill-form-money__money {
|
||||
align-self: center;
|
||||
margin-left: 1em;
|
||||
}
|
||||
}
|
@@ -101,6 +101,13 @@
|
||||
{% endspaceless %}
|
||||
{% endblock choice_with_other_widget %}
|
||||
|
||||
{% block money_widget %}
|
||||
<div class="chill-form-money">
|
||||
{{ block('form_widget_simple') }}
|
||||
<span class="chill-form-money__money">{{ money_pattern|form_encode_currency }}</span>
|
||||
</div>
|
||||
{% endblock money_widget %}
|
||||
|
||||
|
||||
{% block date_widget %}
|
||||
{% spaceless %}
|
||||
|
Reference in New Issue
Block a user