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
Cancel button on terms page doesn't do anything #2514
Comments
OK "not my fault". The button should open a wiki page but hits a CSP issue terms:1 Refused to send form data to 'https://wiki.openstreetmap.org/' because it violates the following Content Security Policy directive: "form-action 'self'". |
Well the real issue that it's form button when it doesn't need to be... We just want to do a GET without any form data then there wouldn't be a problem... We just need to work out how to do that. |
It should be pretty easy to style an anchor tag to look like a button. |
Yes, we're moving to bootstrap for forms and buttons, and they have both buttons that look like links, and links that look like buttons, so we'll be sorted. |
I just happen to be using this which is working now. It's a blue button with white text. It looks pretty good. <%= button_to t(".edit"), edit_thing_path(thing), :method => :get %> It comes out like this <form method=GET><input type=submit value="Edit"></form> |
Probably an error I built in, will investigate.
The text was updated successfully, but these errors were encountered: