From da2a4ce48cce1a02037da66c48a11732bff41f65 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Mon, 6 Jun 2016 15:50:31 -0400 Subject: [PATCH] Add bot honeypot --- src/components/forms/checkbox.jsx | 4 ++-- src/views/teacherregistration/steps.jsx | 3 +++ src/views/teacherregistration/teacherregistration.scss | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/forms/checkbox.jsx b/src/components/forms/checkbox.jsx index 4363b24fe..169549aa5 100644 --- a/src/components/forms/checkbox.jsx +++ b/src/components/forms/checkbox.jsx @@ -7,11 +7,11 @@ var Checkbox = React.createClass({ type: 'Checkbox', render: function () { var classes = classNames( - 'checkbox', + 'checkbox-row', this.props.className ); return ( - + ); } }); diff --git a/src/views/teacherregistration/steps.jsx b/src/views/teacherregistration/steps.jsx index 5867184e5..0df64b8f4 100644 --- a/src/views/teacherregistration/steps.jsx +++ b/src/views/teacherregistration/steps.jsx @@ -116,6 +116,9 @@ module.exports = { options={countryData.countryOptions} value={this.props.defaultCountry} required /> + diff --git a/src/views/teacherregistration/teacherregistration.scss b/src/views/teacherregistration/teacherregistration.scss index cdb1eeec5..f53940c42 100644 --- a/src/views/teacherregistration/teacherregistration.scss +++ b/src/views/teacherregistration/teacherregistration.scss @@ -10,6 +10,10 @@ width: 100%; } + .demographics-checkbox-is-robot { + display: none; + } + input { &[type=radio], &[type=checkbox] {