summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-22 16:07:44 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-22 16:30:57 +0200
commit7e4912fc03111ab5071e8e7478db48422597777a (patch)
treedee0dd7a6b28d5c60cfc14b6e490a59a3fb92dbd /application
parent21f9a779a24156c06abc38b07fc27621cd845bf7 (diff)
Fix form display errors on small devices
form-horizontal causes the viewport to become too wide. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application')
-rw-r--r--application/views/user/hash_password.php2
-rw-r--r--application/views/user/profile.php2
-rw-r--r--application/views/user/register.php2
-rw-r--r--application/views/user/reset_password_form.php2
-rw-r--r--application/views/user/reset_password_username_form.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/application/views/user/hash_password.php b/application/views/user/hash_password.php
index 6daa594f4..98bef9df5 100644
--- a/application/views/user/hash_password.php
+++ b/application/views/user/hash_password.php
@@ -9,7 +9,7 @@ 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")); ?>
+<?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>
diff --git a/application/views/user/profile.php b/application/views/user/profile.php
index 042612b60..74d786d3f 100644
--- a/application/views/user/profile.php
+++ b/application/views/user/profile.php
@@ -1,4 +1,4 @@
-<?php echo form_open("user/profile", array("class" => "form-horizontal")); ?>
+<?php echo form_open("user/profile"); ?>
<div class="row">
<div class="form-group col-lg-8 col-md-10">
diff --git a/application/views/user/register.php b/application/views/user/register.php
index fffd9d271..af4558ff9 100644
--- a/application/views/user/register.php
+++ b/application/views/user/register.php
@@ -3,7 +3,7 @@
echo implode("<br />\n", $error);
echo "</p>";
} ?>
-<?php echo form_open('user/register/'.$key, array("class" => "form-horizontal")); ?>
+<?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>
diff --git a/application/views/user/reset_password_form.php b/application/views/user/reset_password_form.php
index 819ca9de4..9c8253189 100644
--- a/application/views/user/reset_password_form.php
+++ b/application/views/user/reset_password_form.php
@@ -3,7 +3,7 @@
echo implode("<br />\n", $error);
echo "</p>";
} ?>
-<?php echo form_open('user/reset_password/'.$key, array("class" => "form-horizontal")); ?>
+<?php echo form_open('user/reset_password/'.$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="inputPassword">Password</label>
diff --git a/application/views/user/reset_password_username_form.php b/application/views/user/reset_password_username_form.php
index 5329a0b7e..713cd4919 100644
--- a/application/views/user/reset_password_username_form.php
+++ b/application/views/user/reset_password_username_form.php
@@ -1,4 +1,4 @@
-<?php echo form_open('user/reset_password', array("class" => "form-horizontal")); ?>
+<?php echo form_open('user/reset_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="inputUsername">Username</label>