Skip to content

Commit

Permalink
Increase width of datetime widget
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Aug 20, 2024
1 parent 73492af commit 82312ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/views/Form/form_admin_fields.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -305,15 +305,15 @@ file that was distributed with this source code.
{{ form_errors(form.time) }}

{% if form.date.vars.widget == 'single_text' %}
<div class="col-sm-2">
<div class="col-sm-6">
{{ form_widget(form.date) }}
</div>
{% else %}
{{ form_widget(form.date, {'row': false, 'input_wrapper_class': 'col-sm-2'}) }}
{% endif %}

{% if form.time.vars.widget == 'single_text' %}
<div class="col-sm-2">
<div class="col-sm-6">
{{ form_widget(form.time) }}
</div>
{% else %}
Expand Down

0 comments on commit 82312ac

Please sign in to comment.