summaryrefslogtreecommitdiffstats
path: root/application/views/user/hash_password.php
diff options
context:
space:
mode:
authorMarkus Cisler <m@kuchen.io>2013-09-05 18:40:06 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-22 16:30:56 +0200
commit36a1bb6770cb76ec7baf4e215c4379b070c60639 (patch)
tree9e8ec3bf58b1e9bd4b349a75cb2e5e369d406421 /application/views/user/hash_password.php
parent3ec93bf546c4cfff82f1fb34eeae1f18319c59c1 (diff)
almost migrated to bootstrap3
Diffstat (limited to 'application/views/user/hash_password.php')
-rw-r--r--application/views/user/hash_password.php29
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..60df6e1c5 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>";
}
@@ -10,22 +10,27 @@ if ($hash) {
}
?>
<?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 class="row">
+ <div class="form-group col-lg-10">
+ <label class="control-label col-lg-2" for="inputPassword">Password</label>
+ <div class="col-lg-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">
+ <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" class="form-control">
</div>
+ </div>
</div>
- <div class="control-group">
- <div class="controls">
+ <div class="row">
+ <div class="form-group col-lg-10">
+ <div class="col-lg-offset-2 col-lg-5">
<button type="submit" class="btn btn-primary" name="process">Hash it</button>
</div>
</div>