8000 Improved Bootstrap form theme for hidden fields by javiereguiluz · Pull Request #17568 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Improved Bootstrap form theme for hidden fields #17568

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 6 commits into from
Closed
Changes from 1 commit
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
Next Next commit
Improved Bootstrap form theme fro hidden fields
  • Loading branch information
javiereguiluz committed Jan 27, 2016
commit 9cd8cb86d8fdefb187b16968819f939d8bb354c0
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{# Widgets #}

{% block form_widget_simple -%}
{% if type is not defined or 'file' != type %}
{% if type is not defined or type not in ['file', 'hidden'] %}
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' form-control')|trim}) -%}
{% endif %}
{{- parent() -}}
Expand Down
0