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
Improve readme #877
Improve readme #877
Conversation
@@ -319,7 +326,7 @@ f.input :shipping_country, priority: [ "Brazil" ], collection: [ "Australia", "B | |||
|
|||
### Associations | |||
|
|||
To deal with associations, **SimpleForm** can generate select inputs, a series of radios buttons or check boxes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with space is correct. Could you change it back?
So should I assume that bullet point number 1 in #855 is not agreed and just remove entirely the first of the three commits? |
We are not talking about the attribute name in the text so we can't change to the version without spaces. If we will going to change it we need to change all the table and the text to talk about the attribute type. I kind agree with the the point 1, but if we are going to apply it we need to apply in all the types. |
I don't get it, when you say "text area" in the README, aren't you talking about the html element called "textarea"? |
Yes, but we are not using the HTML attribute vocabulary (this is why it is not |
I see. So should I just revert the entire first commit, then? |
What do you think of changing all the text to use the HTML vocabulary? |
Sure, although I'm not an HTML vocabulary expert... :) Shall I add it to this PR? |
👍 |
Actually, what else would it need to be changed? |
All the input names in the table |
Do you like this format?
|
@deivid-rodriguez, your suggestion is use a markdown table? I think it will be much prettier. (: For example: Code: Mapping | Generated HTML Element | Database Column Type
--------------|--------------------------------------|---------------------------------------------------------
boolean | input[type="checkbox"] | boolean
string | input[type="text] | string
email | input[type="email"] | string with name matching "email" Preview:
|
Sorry, when I said format I meant the way of describing the html elements, namely, Nevertheless, that table rendering is beautiful, I can add that to the PR as well... Let's see what @rafaelfranca says. And by the way, thanks for pointing me there, I'm gonna use that markdown for my README's right now! |
@deivid-rodriguez it is good to me. @carlosantoniodasilva? |
Oh, sorry @deivid-rodriguez, I haven't read the previous comments right... |
Good, shall I update the table format as well or just the content? |
@deivid-rodriguez it is your call. It seems good to me. Could you update the pull request so I can merge it? |
@rafaelfranca I added a commit a while ago, did you notice? :) |
@deivid-rodriguez could you please rebase it? "We can’t automatically merge this pull request." :( |
Sorry, I forgot about this. Is it ok now? |
Improve readme Conflicts: README.md
Improve readme Conflicts: README.md
This is just the changes suggested in #855 by @TylerRick applied to the README