Browse Source

Updated alignment of bottom form elements.

Alan Lam 8 years ago
parent
commit
25712881b6
1 changed files with 8 additions and 3 deletions
  1. 8 3
      views/log_in.php

+ 8 - 3
views/log_in.php

@@ -13,15 +13,20 @@
 					</div>
 				</div>
 
-				<div class="row mb-3">
+				<div class="row mb-1">
 					<label class="col-sm-4 col-form-label" for="password">Password</label>
 					<div class="col-sm">
 						<input class="form-control" type="password" name="password" placeholder="Enter password" required />
 					</div>
 				</div>
 
-				<button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>">Log In</button>
-				<a class="btn btn-secondary" href="/reset-password">Forgot Password</a>
+				<div class="row">
+					<div class="col-sm offset-sm-4">
+						<button class="btn btn-primary" type="submit" name="submit" value="<?=htmlspecialchars($_SESSION["csrf_token"])?>">Log In</button>
+						<a class="btn btn-secondary" href="/reset-password">Forgot Password</a>
+					</div>
+				</div>
+
 			</div>
 		</div>