From 511497eac53b33788e820dd65b00767e6329a4d6 Mon Sep 17 00:00:00 2001 From: sunpietro Date: Mon, 12 Mar 2018 16:43:05 +0100 Subject: [PATCH] EZP-28930: Labels are one line below checkbox/radiobutton (#219) --- bundle/Resources/views/ContentType/field_types.html.twig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundle/Resources/views/ContentType/field_types.html.twig b/bundle/Resources/views/ContentType/field_types.html.twig index edeeb6b4e..cd8211e27 100644 --- a/bundle/Resources/views/ContentType/field_types.html.twig +++ b/bundle/Resources/views/ContentType/field_types.html.twig @@ -18,6 +18,7 @@ {% block ezboolean_field_definition_edit %}
+ {{- form_row(form.defaultValue, {'label_attr': {'class': 'checkbox-inline'}}) -}} {{- form_label(form.defaultValue) -}} {{- form_errors(form.defaultValue) -}} {{- form_widget(form.defaultValue) -}} @@ -26,6 +27,7 @@ {% block ezcountry_field_definition_edit %}
+ {{- form_row(form.isMultiple, {'label_attr': {'class': 'checkbox-inline'}}) -}} {{- form_label(form.isMultiple) -}} {{- form_errors(form.isMultiple) -}} {{- form_widget(form.isMultiple) -}} @@ -40,6 +42,7 @@ {% block ezdate_field_definition_edit %}
+ {{- form_row(form.defaultType, {'label_attr': {'class': 'checkbox-inline'}}) -}} {{- form_label(form.defaultType) -}} {{- form_errors(form.defaultType) -}} {{- form_widget(form.defaultType) -}} @@ -48,12 +51,14 @@ {% block ezdatetime_field_definition_edit %}
+ {{- form_row(form.useSeconds, {'label_attr': {'class': 'checkbox-inline'}}) -}} {{- form_label(form.useSeconds) -}} {{- form_errors(form.useSeconds) -}} {{- form_widget(form.useSeconds) -}}
+ {{- form_row(form.defaultType, {'label_attr': {'class': 'checkbox-inline'}}) -}} {{- form_label(form.defaultType) -}} {{- form_errors(form.defaultType) -}} {{- form_widget(form.defaultType) -}} @@ -214,6 +219,7 @@ {% block ezselection_field_definition_edit %}
+ {{- form_row(form.isMultiple, {'label_attr': {'class': 'checkbox-inline'}}) -}} {{- form_label(form.isMultiple) -}} {{- form_errors(form.isMultiple) -}} {{- form_widget(form.isMultiple) -}}