[openstreetmap/openstreetmap-website] [WIP] Add links to the ToU and include them in signup (#2028)
Tom Hughes
notifications at github.com
Mon Oct 22 16:29:05 UTC 2018
tomhughes commented on this pull request.
> <div class="form-row">
- <label for="user_consider_pd">
- <%= check_box('user', 'consider_pd') %>
- <%= t '.consider_pd' %>
+ <label for="read_tou">
+ <%= check_box_tag 'read_tou',1,false,:onclick=>"agreebtn = document.getElementById('agree');agreebtn.disabled=!this.checked;"%>
Well `app/assets/javascripts/user.js` looks like an obvious choice given it is already loaded in that page.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2028#discussion_r227044710
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181022/1a9faed8/attachment.html>
More information about the rails-dev
mailing list