diff options
author | Markus Cisler <m@kuchen.io> | 2013-09-22 14:12:01 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-09-22 16:30:56 +0200 |
commit | 43b23943ef3d9ce20accf250bb796b0b9454e8a4 (patch) | |
tree | 59a4b84c368a4669f8898dd1a14f46990f787b46 /application/views/user/register.php | |
parent | f872de7d981eeeb506f23c99412bb7de584c661d (diff) |
fix forms on so called medium device desktops
Diffstat (limited to 'application/views/user/register.php')
-rw-r--r-- | application/views/user/register.php | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/application/views/user/register.php b/application/views/user/register.php index 217a3d18f..fffd9d271 100644 --- a/application/views/user/register.php +++ b/application/views/user/register.php @@ -4,48 +4,48 @@ echo "</p>"; } ?> <?php echo form_open('user/register/'.$key, array("class" => "form-horizontal")); ?> - <div class="row"> - <div class="form-group col-lg-8"> - <label class="control-label col-lg-2" for="inputUsername">Username</label> - <div class="col-lg-5"> +<div class="row"> + <div class="form-group col-lg-8 col-md-10"> + <label class="control-label col-lg-2 col-md-2" for="inputUsername">Username</label> + <div class="col-lg-5 col-md-5"> <input type="text" id="inputUsername" name="username" placeholder="Username" value="<?php echo $values["username"]; ?>" class="form-control"> </div> - </div> </div> +</div> - <div class="row"> - <div class="form-group col-lg-8"> - <label class="control-label col-lg-2" for="inputEmail">Email</label> - <div class="col-lg-5"> +<div class="row"> + <div class="form-group col-lg-8 col-md-10"> + <label class="control-label col-lg-2 col-md-2" for="inputEmail">Email</label> + <div class="col-lg-5 col-md-5"> <input type="text" id="inputEmail" name="email" placeholder="Email" value="<?php echo $values["email"]; ?>" class="form-control"> </div> - </div> </div> +</div> - <div class="row"> - <div class="form-group col-lg-8"> - <label class="control-label col-lg-2" for="inputPassword">Password</label> - <div class="col-lg-5"> +<div class="row"> + <div class="form-group col-lg-8 col-md-10"> + <label class="control-label col-lg-2 col-md-2" for="inputPassword">Password</label> + <div class="col-lg-5 col-md-5"> <input type="password" id="inputPassword" name="password" placeholder="Password" class="form-control"> </div> - </div> </div> +</div> - <div class="row"> - <div class="form-group col-lg-8"> - <label class="control-label col-lg-2" for="inputPassword">Confirm password</label> - <div class="col-lg-5"> - <input type="password" id="inputPasswordConfirm" name="password_confirm" placeholder="Password confirmation"> +<div class="row"> + <div class="form-group col-lg-8 col-md-10"> + <label class="control-label col-lg-2 col-md-2" for="inputPassword">Confirm password</label> + <div class="col-lg-5 col-md-5"> + <input type="password" id="inputPasswordConfirm" name="password_confirm" placeholder="Password confirmation" class="form-control"> </div> - </div> </div> +</div> - <div class="row"> - <div class="form-group col-lg-8"> - <div class="col-lg-offset-2 col-lg-5"> +<div class="row"> + <div class="form-group col-lg-8 col-md-10"> + <div class="col-lg-offset-2 col-lg-5 col-md-offset-2 col-md-5"> <button type="submit" class="btn btn-primary" name="process">Register</button> </div> - </div> </div> +</div> </form> |