Skip to content
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

Create compound.rst.inc #2362 #3336

Closed
wants to merge 4 commits into from
Closed

Create compound.rst.inc #2362 #3336

wants to merge 4 commits into from

Conversation

dpcat237
Copy link
Contributor

Q A
Doc fix? yes
New docs? no
Applies to 2.3+

Create description for "compound" option.
@cordoval
Copy link
Contributor

@dpcat237 the template goes in the description top part


**type**: ``boolean``

This option define that if form is compound. It's independent of whether the form actually has children. A form can be compound and have no children at all, like for example an empty collection form.
Copy link
Contributor

Choose a reason for hiding this comment

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

This option defines if form is compound.

@cordoval
Copy link
Contributor

maybe cut the line to 100 characters per line

@wouterj
Copy link
Member

wouterj commented Dec 14, 2013

no, it must be wrapped after the first word that crosses the 72th character

@wouterj
Copy link
Member

wouterj commented Dec 14, 2013

It doesn't make sense to only add this file. It is not included somewhere, you should include the option in the form types that makes sense.

@dorians dorians mentioned this pull request Dec 14, 2013
15 tasks
@dpcat237
Copy link
Contributor Author

I'm sorry, it's one of my first pull request to this project and I didn't review pull request standards. I'll be more rigorous.
Do I have to fix something else for this pull request?

@wouterj
Copy link
Member

wouterj commented Dec 16, 2013

@dpcat237 yes, see my explaination in #3351

@xabbuh
Copy link
Member

xabbuh commented Dec 16, 2013

And don't worry about the confusions. We really appreciate your contribution and are of course happy to help you finish your pull request. :)

@dpcat237
Copy link
Contributor Author

@wouterj @xabbuh
Okay, thanks for explanation :)
As this was only documentation I started doing this changes via web. Now I see that would be better did it from local. I'll finish this little bit later.

@dpcat237
Copy link
Contributor Author

@wouterj do I have to add versionadded directive to this option too?

@stof
Copy link
Member

stof commented Dec 17, 2013

@dpcat237 I don't think so, because it is there in all supported versions (it was added in 2.1)


**type**: ``boolean``

This option define that if form is compound. It's independent of whether the
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be a bit reworded:

This option specifies if a form is compound. This is independent of whether the form actually has children. A form can be compound but don't have any children at all (e.g. an empty collection form).

Sorry for the late suggestions.

Copy link
Member

Choose a reason for hiding this comment

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

+1

@dpcat237
Copy link
Contributor Author

@stof Okay, thanks.
@xabbuh You right, for me it looks better. I'll wait that someone else confirm it and I'll change it.

@weaverryan
Copy link
Member

Thanks for your hard work on this Denys - the result is very nice! I've patched your commits into the 2.3 branch at the following commits:

Nice meeting you and I hope we'll see some more PR's from you ;).

Cheers!

@weaverryan weaverryan closed this Dec 26, 2013
weaverryan pushed a commit that referenced this pull request Dec 26, 2013
weaverryan pushed a commit that referenced this pull request Dec 26, 2013
weaverryan added a commit that referenced this pull request Dec 26, 2013
@dpcat237
Copy link
Contributor Author

Okay Ryan. Was pleasure help to community :) I'll try find time to be more involved in Symfony community ;)

Regards

@dpcat237 dpcat237 deleted the patch-2 branch December 27, 2013 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants