-
-
-
- {%- if with_years %}{{ form_label(form.years) }} | {% endif -%}
- {%- if with_months %}{{ form_label(form.months) }} | {% endif -%}
- {%- if with_weeks %}{{ form_label(form.weeks) }} | {% endif -%}
- {%- if with_days %}{{ form_label(form.days) }} | {% endif -%}
- {%- if with_hours %}{{ form_label(form.hours) }} | {% endif -%}
- {%- if with_minutes %}{{ form_label(form.minutes) }} | {% endif -%}
- {%- if with_seconds %}{{ form_label(form.seconds) }} | {% endif -%}
-
-
-
-
- {%- if with_years %}{{ form_widget(form.years) }} | {% endif -%}
- {%- if with_months %}{{ form_widget(form.months) }} | {% endif -%}
- {%- if with_weeks %}{{ form_widget(form.weeks) }} | {% endif -%}
- {%- if with_days %}{{ form_widget(form.days) }} | {% endif -%}
- {%- if with_hours %}{{ form_widget(form.hours) }} | {% endif -%}
- {%- if with_minutes %}{{ form_widget(form.minutes) }} | {% endif -%}
- {%- if with_seconds %}{{ form_widget(form.seconds) }} | {% endif -%}
-
-
-
+ {%- if with_years -%}
+
+ {{ form_label(form.years) }}
+ {{ form_widget(form.years) }}
+ {%- endif -%}
+ {%- if with_months -%}
+
+ {{ form_label(form.months) }}
+ {{ form_widget(form.months) }}
+
+ {%- endif -%}
+ {%- if with_weeks -%}
+
+ {{ form_label(form.weeks) }}
+ {{ form_widget(form.weeks) }}
+
+ {%- endif -%}
+ {%- if with_days -%}
+
+ {{ form_label(form.days) }}
+ {{ form_widget(form.days) }}
+
+ {%- endif -%}
+ {%- if with_hours -%}
+
+ {{ form_label(form.hours) }}
+ {{ form_widget(form.hours) }}
+
+ {%- endif -%}
+ {%- if with_minutes -%}
+
+ {{ form_label(form.minutes) }}
+ {{ form_widget(form.minutes) }}
+
+ {%- endif -%}
+ {%- if with_seconds -%}
+
+ {{ form_label(form.seconds) }}
+ {{ form_widget(form.seconds) }}
+
+ {%- endif -%}
{%- if with_invert %}{{ form_widget(form.invert) }}{% endif -%}
{%- endif -%}
diff --git a/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_base_layout.html.twig b/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_base_layout.html.twig
index 71aedf99ad1fa..1a75f2e4456bb 100644
--- a/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_base_layout.html.twig
+++ b/src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_base_layout.html.twig
@@ -88,7 +88,7 @@