From d77bc96db03bc1d0bf595e22d49f82f01317b376 Mon Sep 17 00:00:00 2001
From: ayamberkakienam <zackhardyz@gmail.com>
Date: Mon, 2 Oct 2017 20:45:46 +0700
Subject: [PATCH] Fixed checkbox on sign_up page

---
 css/order.css      |  2 +-
 login/sign_up.html | 11 +++++++----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/css/order.css b/css/order.css
index 04516a7c..c29f6a28 100755
--- a/css/order.css
+++ b/css/order.css
@@ -19,5 +19,5 @@
 
 #third {
 	background-color: green;
-	float: 
+	float: left;
 }
\ No newline at end of file
diff --git a/login/sign_up.html b/login/sign_up.html
index 497590b9..791bf2e0 100755
--- a/login/sign_up.html
+++ b/login/sign_up.html
@@ -24,10 +24,13 @@
 				<input type="Password" name="confirm_password"><br/>
 				Phone number*
 				<input type="text" name="user_phone"><br/>
-
-                <input type="button" value="Sign me up as driver" id="signAs_driver" style="width : 40%" onclick= "driver_signup();"><label id="driversign_status"><br></label>
-                    <input type="text" name="is_driver" value="No" style="display:none">
-				<input type="submit" value="REGISTER">
+    
+                <input type="checkbox" id="chkbx_driver" name="is_driver" value="true" style="display: inline-flex; width: 20px">
+                <label for="chkbx_driver" style="display: inline-flex;">Sign me up as a driver</label>
+               
+                <input type="submit" value="REGISTER">
+                <!-- <input type="button" value="Sign me up as driver" id="signAs_driver" style="width : 40%" onclick= "driver_signup();"><label id="driversign_status"><br></label>
+                    <input type="text" name="is_driver" value="No" style="display:none"> -->
 			</form>
             <p><br>* Required field</p>
 		</div>
-- 
GitLab