Skip to content

Fix for missing whitespace control modifier in form layout #25278

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

Merged
merged 1 commit into from
Dec 4, 2017
Merged

Fix for missing whitespace control modifier in form layout #25278

merged 1 commit into from
Dec 4, 2017

Conversation

kubawerlos
Copy link
Contributor

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #25252
License MIT
Doc PR -

That single missing whitespace control modifier results in e.g. new line in data-prototype attribute when using CollectionType field type in form.

@@ -301,7 +301,7 @@
{% if not child.rendered %}
{{- form_row(child) -}}
{% endif %}
{%- endfor %}
{%- endfor -%}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same L318?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of course, done

@fabpot
Copy link
Member

fabpot commented Dec 4, 2017

Thank you @kubawerlos.

@fabpot fabpot merged commit 369075a into symfony:2.7 Dec 4, 2017
fabpot added a commit that referenced this pull request Dec 4, 2017
… (kubawerlos)

This PR was merged into the 2.7 branch.

Discussion
----------

Fix for missing whitespace control modifier in form layout

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #25252
| License       | MIT
| Doc PR        | -

That single missing whitespace control modifier results in e.g. new line in `data-prototype` attribute when using CollectionType field type in form.

Commits
-------

369075a Fix for missing whitespace control modifier in form layout
@kubawerlos kubawerlos deleted the bugfix/twig-whitespace-control-modifier branch December 6, 2017 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants