[openstreetmap/openstreetmap-website] [WIP] Add links to the ToU and include them in signup (#2028)

Simon Poole notifications at github.com
Mon Oct 22 12:25:04 UTC 2018


simonpoole 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;"%>

I was expecting so much, is there a preferred js file to put the handler in?

-- 
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_r226970697
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181022/d967f738/attachment.html>


More information about the rails-dev mailing list