summaryrefslogtreecommitdiffstats
path: root/application/views/user/register.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-22 17:18:48 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-22 17:18:48 +0200
commit9538bea0908c8a3758b41967d977455af731c344 (patch)
tree5f805a22f77debba76bcd8517885c886ba26c449 /application/views/user/register.php
parent3ec93bf546c4cfff82f1fb34eeae1f18319c59c1 (diff)
parente484fbe3e012a57c95963c24db190c91575e1bc5 (diff)
Merge branch 'working-split/bootstrap3' into working
Diffstat (limited to 'application/views/user/register.php')
-rw-r--r--application/views/user/register.php50
1 files changed, 30 insertions, 20 deletions
diff --git a/application/views/user/register.php b/application/views/user/register.php
index c0050508b..af4558ff9 100644
--- a/application/views/user/register.php
+++ b/application/views/user/register.php
@@ -1,41 +1,51 @@
<?php if (!empty($error)) {
- echo "<p class='alert alert-error'>";
+ echo "<p class='alert alert-danger'>";
echo implode("<br />\n", $error);
echo "</p>";
} ?>
-<?php echo form_open('user/register/'.$key, array("class" => "form-horizontal")); ?>
- <div class="control-group">
- <label class="control-label" for="inputUsername">Username</label>
- <div class="controls">
- <input type="text" id="inputUsername" name="username" placeholder="Username" value="<?php echo $values["username"]; ?>">
+<?php echo form_open('user/register/'.$key); ?>
+<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 class="control-group">
- <label class="control-label" for="inputEmail">Email</label>
- <div class="controls">
- <input type="text" id="inputEmail" name="email" placeholder="Email" value="<?php echo $values["email"]; ?>">
+<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 class="control-group">
- <label class="control-label" for="inputPassword">Password</label>
- <div class="controls">
- <input type="password" id="inputPassword" name="password" placeholder="Password">
+<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 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-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 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">Register</button>
</div>
</div>
+</div>
</form>