diff --git a/css/order.css b/css/order.css index 04516a7cd73ad27385f663e67513d06ef18ea50b..c29f6a28ab7eb541ebb95968e6fe459a5616c131 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 497590b92fd8804d9a98df6c31f4377b0266c248..791bf2e0ac12fafbfa4dca61093bac82f8d3196d 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>