From 120ca016626bcb3e95090280b7a1d02c6588b6a8 Mon Sep 17 00:00:00 2001
From: Asaad Mahmood <Unknowngi@live.com>
Date: Tue, 28 Jul 2015 01:08:03 +0500
Subject: Signup Ui changes

---
 web/react/components/signup_team.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/react/components/signup_team.jsx')

diff --git a/web/react/components/signup_team.jsx b/web/react/components/signup_team.jsx
index 362f79163..6fde7f8b5 100644
--- a/web/react/components/signup_team.jsx
+++ b/web/react/components/signup_team.jsx
@@ -70,9 +70,9 @@ module.exports = React.createClass({
                 </div>
                 { server_error }
                 <div className="form-group">
-                    <button className="btn btn-md btn-primary" type="submit">Sign up for Free</button>
+                    <button className="btn btn-md btn-primary" type="submit">Sign up</button>
                 </div>
-                <div className="form-group form-group--small">
+                <div className="form-group margin--extra-2x">
                     <span><a href="/find_team">{"Find my " + strings.Team}</a></span>
                 </div>
             </form>
-- 
cgit v1.2.3-1-g7c22


From ff362b77929cbb65f941e14144472f7d6ca9d430 Mon Sep 17 00:00:00 2001
From: JoramWilander <jwawilander@gmail.com>
Date: Tue, 28 Jul 2015 11:36:33 -0400
Subject: updates to sign-up flow, remove company name and marketing checkbox

---
 web/react/components/signup_team.jsx | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

(limited to 'web/react/components/signup_team.jsx')

diff --git a/web/react/components/signup_team.jsx b/web/react/components/signup_team.jsx
index 6fde7f8b5..edd48e0b9 100644
--- a/web/react/components/signup_team.jsx
+++ b/web/react/components/signup_team.jsx
@@ -20,21 +20,12 @@ module.exports = React.createClass({
             state.email_error = "";
         }
 
-        team.display_name = this.refs.name.getDOMNode().value.trim();
-        if (!team.display_name) {
-            state.name_error = "This field is required";
-            state.inValid = true;
-        }
-        else {
-            state.name_error = "";
-        }
-
         if (state.inValid) {
             this.setState(state);
             return;
         }
 
-        client.signupTeam(team.email, team.display_name,
+        client.signupTeam(team.email,
             function(data) {
                 if (data["follow_link"]) {
                     window.location.href = data["follow_link"];
@@ -55,7 +46,6 @@ module.exports = React.createClass({
     render: function() {
 
         var email_error = this.state.email_error ? <label className='control-label'>{ this.state.email_error }</label> : null;
-        var name_error = this.state.name_error ? <label className='control-label'>{ this.state.name_error }</label> : null;
         var server_error = this.state.server_error ? <div className={ "form-group has-error" }><label className='control-label'>{ this.state.server_error }</label></div> : null;
 
         return (
@@ -64,10 +54,6 @@ module.exports = React.createClass({
                     <input autoFocus={true} type="email" ref="email" className="form-control" placeholder="Email Address" maxLength="128" />
                     { email_error }
                 </div>
-                <div className={ name_error ? "form-group has-error" : "form-group" }>
-                    <input type="text" ref="name" className="form-control" placeholder={utils.toTitleCase(strings.Company) + " Name"} maxLength="64" />
-                    { name_error }
-                </div>
                 { server_error }
                 <div className="form-group">
                     <button className="btn btn-md btn-primary" type="submit">Sign up</button>
-- 
cgit v1.2.3-1-g7c22

