improve money type rendering + DQL "jsonbexistsInArray"

This commit is contained in:
2018-06-22 10:09:04 +02:00
parent c059fe8a95
commit 8624b3f941
4 changed files with 65 additions and 1 deletions

View File

@@ -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;
}
}

View File

@@ -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 %}