Skip to content

Commit

Permalink
IBX-4339: Input validation - wrong style (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM authored Feb 21, 2023
1 parent f623a82 commit 0af547b
Showing 1 changed file with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,31 +1,41 @@
{% block ezcontentquery_field_definition_edit %}
<div class="query-query-type{% if group_class is not empty %} {{ group_class }}{% endif %}">
{{- form_label(form.QueryType) -}}
{{- form_errors(form.QueryType) -}}
{{- form_widget(form.QueryType) -}}
<div class="ibexa-form-error">
{{- form_errors(form.QueryType) -}}
</div>
</div>

<div class="query-returned-type{% if group_class is not empty %} {{ group_class }}{% endif %}">
{{- form_label(form.ReturnedType) -}}
{{- form_errors(form.ReturnedType) -}}
{{- form_widget(form.ReturnedType) -}}
<div class="ibexa-form-error">
{{- form_errors(form.ReturnedType) -}}
</div>
</div>

<div class="query-enable-pagination{% if group_class is not empty %} {{ group_class }}{% endif %}">
{{- form_label(form.EnablePagination) -}}
{{- form_errors(form.EnablePagination) -}}
{{- form_widget(form.EnablePagination) -}}
<div class="ibexa-form-error">
{{- form_errors(form.EnablePagination) -}}
</div>
</div>

<div class="query-items-per-page{% if group_class is not empty %} {{ group_class }}{% endif %}">
{{- form_label(form.ItemsPerPage) -}}
{{- form_errors(form.ItemsPerPage) -}}
{{- form_widget(form.ItemsPerPage) -}}
<div class="ibexa-form-error">
{{- form_errors(form.ItemsPerPage) -}}
</div>
</div>

<div class="query-parameters{% if group_class is not empty %} {{ group_class }}{% endif %}">
{{- form_label(form.Parameters) -}}
{{- form_errors(form.Parameters) -}}
{{- form_widget(form.Parameters) -}}
<div class="ibexa-form-error">
{{- form_errors(form.Parameters) -}}
</div>
</div>
{% endblock %}

0 comments on commit 0af547b

Please sign in to comment.