diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-07-13 23:49:20 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-07-13 23:49:20 +0200 |
commit | 6b69fa8cc2c1ca138b949d7b3b2e638f69ee1afc (patch) | |
tree | 5f5525a6b753f20d363b7625f87af9021f72efc2 /application/views/user/hash_password.php | |
parent | 7d745f0577ad7e660f2836729682c43ec4b39aeb (diff) |
Switch to bootstrap div form code instead of tables
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/user/hash_password.php')
-rw-r--r-- | application/views/user/hash_password.php | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/application/views/user/hash_password.php b/application/views/user/hash_password.php index 13e4ffcd3..d85d2810c 100644 --- a/application/views/user/hash_password.php +++ b/application/views/user/hash_password.php @@ -9,18 +9,25 @@ if ($hash) { echo "<p>Result (this hash uses a random salt, so it will be different each time you submit this form):<br />$hash</p>\n"; } ?> -<?php echo form_open('user/hash_password'); ?> - <table> - <tr> - <td>Password</td> - <td> <input type="password" name="password" /></td> - </tr><tr> - <td>Confirm password</td> - <td> <input type="password" name="password_confirm" /></td> - </tr><tr> - <td></td> - <td><input type="submit" value="Hash it" name="process" /></td> - </tr> - </table> +<?php echo form_open('user/hash_password', array("class" => "form-horizontal")); ?> + <div class="control-group"> + <label class="control-label" for="inputPassword">Password</label> + <div class="controls"> + <input type="password" id="inputPassword" name="password" placeholder="Password"> + </div> + </div> + + <div class="control-group"> + <label class="control-label" for="inputPassword">Confirm password</label> + <div class="controls"> + <input type="password" id="inputPasswordConfirm" name="password_confirm" placeholder="Password confirmation"> + </div> + </div> + + <div class="control-group"> + <div class="controls"> + <button type="submit" class="btn btn-primary" name="process">Hash it</button> + </div> + </div> </form> |