diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-09-22 17:18:48 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-09-22 17:18:48 +0200 |
commit | 9538bea0908c8a3758b41967d977455af731c344 (patch) | |
tree | 5f805a22f77debba76bcd8517885c886ba26c449 /application/views/user/profile.php | |
parent | 3ec93bf546c4cfff82f1fb34eeae1f18319c59c1 (diff) | |
parent | e484fbe3e012a57c95963c24db190c91575e1bc5 (diff) |
Merge branch 'working-split/bootstrap3' into working
Diffstat (limited to 'application/views/user/profile.php')
-rw-r--r-- | application/views/user/profile.php | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/application/views/user/profile.php b/application/views/user/profile.php index 1840f9fc1..74d786d3f 100644 --- a/application/views/user/profile.php +++ b/application/views/user/profile.php @@ -1,32 +1,40 @@ -<?php echo form_open("user/profile", array("class" => "form-horizontal")); ?> +<?php echo form_open("user/profile"); ?> - <div class="control-group"> - <label class="control-label" for="inputUsername">Username</label> - <div class="controls"> - <input type="text" id="inputUsername" name="username" placeholder="Username" disabled="disabled" value="<?php echo $profile_data["username"]; ?>"> +<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" disabled="disabled" value="<?php echo $profile_data["username"]; ?>" class="form-control"> </div> </div> +</div> - <?php if($profile_data["email"] !== null) { ?> - <div class="control-group"> - <label class="control-label" for="inputEmail">Email</label> - <div class="controls"> - <input type="text" id="inputEmail" name="email" placeholder="Email" disabled="disabled" value="<?php echo $profile_data["email"]; ?>"> +<?php if($profile_data["email"] !== null) { ?> +<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" disabled="disabled" value="<?php echo $profile_data["email"]; ?>" class="form-control"> </div> </div> - <?php } ?> +</div> +<?php } ?> - <div class="control-group"> - <label class="control-label" for="inputUploadIDLimits">Upload ID length limits</label> - <div class="controls"> - <input type="text" id="inputUploadIDLimits" name="upload_id_limits" placeholder="number-number" value="<?php echo $profile_data["upload_id_limits"]; ?>"> +<div class="row"> + <div class="form-group col-lg-8 col-md-10"> + <label class="control-label col-lg-2 col-md-2" for="inputUploadIDLimits">Upload ID length limits</label> + <div class="col-lg-5 col-md-5"> + <input type="text" id="inputUploadIDLimits" name="upload_id_limits" placeholder="number-number" value="<?php echo $profile_data["upload_id_limits"]; ?>" class="form-control"> <span class="help-block">Values have to be between 3 and 64 inclusive. Please remember that longer IDs don't protect your pastes from being found if you post the link somewhere a search enginge can see it.</span> </div> </div> +</div> - <div class="control-group"> - <div class="controls"> +<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">Save changes</button> </div> </div> +</div> </form> |