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

Issue #6388 --> Changed <input type=button> to <button type=button> #6401

Merged
merged 6 commits into from Sep 24, 2020
Merged

Issue #6388 --> Changed <input type=button> to <button type=button> #6401

merged 6 commits into from Sep 24, 2020

Conversation

paqman85
Copy link
Contributor

Thanks for contributing to Wagtail! 🎉

Before submitting, please review the contributor guidelines https://docs.wagtail.io/en/latest/contributing/index.html and check the following:

  • Do the tests still pass? (https://docs.wagtail.io/en/latest/contributing/developing.html#testing)
  • Does the code comply with the style guide? (Run make lint from the Wagtail root)
  • For Python changes: Have you added tests to cover the new/fixed behaviour? N/A
  • For front-end changes: Did you test on all of Wagtail’s supported browsers? Please list the exact versions you tested.
  • For new features: Has the documentation been updated accordingly? N/A

@squash-labs
Copy link

squash-labs bot commented Sep 23, 2020

Manage this branch in Squash

Test this branch here: https://paqman85master-qx35g.squash.io

Copy link
Contributor

@Scotchester Scotchester left a comment

Choose a reason for hiding this comment

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

Thank you, @paqman85! We appreciate it.

Copy link
Contributor

@Scotchester Scotchester left a comment

Choose a reason for hiding this comment

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

Whoops, too hasty with my approval. <button> is not a self-closing tag, so these tags need to be converted to this format:

<button type="button" class="button">value</button>

(replacing the value with the value of the value attribute from before)

@paqman85
Copy link
Contributor Author

paqman85 commented Sep 23, 2020 via email

…edited] fixed closing button tags </button>
@paqman85
Copy link
Contributor Author

I may have missed something again, did you want the value="drop up" to be between the button tags, not as a tag attribute?

@Scotchester
Copy link
Contributor

I may have missed something again, did you want the value="drop up" to be between the button tags, not as a tag attribute?

Yes, the attribute should go away, and just drop up should appear between the tags.

…edited] corrected missing closing button tag on line 519
…edited] removed value='' attribute on <button> tags
@paqman85
Copy link
Contributor Author

paqman85 commented Sep 23, 2020 via email

…edited] fixed typo on line 700 - input/button tags mixed up
…edited] fixed typo on line 782 -- missing closing tag on <img>
@Scotchester
Copy link
Contributor

Beautiful, thanks again, @paqman85!

@Scotchester Scotchester merged commit 3ab18aa into wagtail:master Sep 24, 2020
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

2 participants