8000 [TwigBridge] fix with_minutes option in time widget by arduanov · Pull Request #15776 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[TwigBridge] fix with_minutes option in time widget #15776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix with_minutes option in time widget
  • Loading branch information
arduanov committed Sep 13, 2015
commit cb89bad57f5c777527db6a49227393d833291c2f
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
{% if datetime is not defined or false == datetime -%}
<div {{ block('widget_container_attributes') -}}>
{%- endif -%}
{{- form_widget(form.hour) }}:{{ form_widget(form.minute) }}{% if with_seconds %}:{{ form_widget(form.second) }}{% endif %}
{{- form_widget(form.hour) }}{% if with_minutes %}:{{ form_widget(form.minute) }}{% endif %}{% if with_seconds %}:{{ form_widget(form.second) }}{% endif %}
{% if datetime is not defined or false == datetime -%}
</div>
{%- endif -%}
Expand Down
0