diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-09-25 15:03:59 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-09-25 15:03:59 +0200 |
commit | 6705e6c987b6e4a43bbb666c33d8fc8a0ef1a0a6 (patch) | |
tree | b815871f7f031633c400a33cf5d6245282d59955 /application/views/user/hash_password.php | |
parent | 50230001eb5387b6b0ff7ce906d074ef4a530d11 (diff) | |
parent | ab98249a9a087745b29e5cb258ea0b624f12f64b (diff) |
Merge branch 'working'
Diffstat (limited to 'application/views/user/hash_password.php')
-rw-r--r-- | application/views/user/hash_password.php | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/application/views/user/hash_password.php b/application/views/user/hash_password.php index d85d2810c..98bef9df5 100644 --- a/application/views/user/hash_password.php +++ b/application/views/user/hash_password.php @@ -1,6 +1,6 @@ <?php if (!empty($error)) { - echo "<p class='alert alert-error'>"; + echo "<p class='alert alert-danger'>"; echo implode("<br />\n", $error); echo "</p>"; } @@ -9,23 +9,28 @@ 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', 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"> +<?php echo form_open('user/hash_password'); ?> +<div class="row"> + <div class="form-group col-lg-10 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 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 class="row"> + <div class="form-group col-lg-10 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 class="control-group"> - <div class="controls"> +<div class="row"> + <div class="form-group col-lg-10 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">Hash it</button> </div> </div> |