Browse Source

Fixed register & reset labels.

Fixed label assignments so that clicking on the label will focus the
correct field.
Danny Vink 10 years ago
parent
commit
a7fe42c0d8
2 changed files with 3 additions and 3 deletions
  1. 2 2
      resources/views/auth/register.blade.php
  2. 1 1
      resources/views/auth/reset.blade.php

+ 2 - 2
resources/views/auth/register.blade.php

@@ -12,7 +12,7 @@
 				<form class="form-horizontal" role="form" method="POST" action="/auth/register">
 				<form class="form-horizontal" role="form" method="POST" action="/auth/register">
 					<input type="hidden" name="_token" value="{{ csrf_token() }}">
 					<input type="hidden" name="_token" value="{{ csrf_token() }}">
 					<div class="form-group">
 					<div class="form-group">
-						<label for="email" class="col-sm-3 control-label">Name</label>
+						<label for="name" class="col-sm-3 control-label">Name</label>
 						<div class="col-sm-6">
 						<div class="col-sm-6">
 							<input type="text" id="name" name="name" class="form-control" placeholder="Name" value="{{ old('name') }}">
 							<input type="text" id="name" name="name" class="form-control" placeholder="Name" value="{{ old('name') }}">
 						</div>
 						</div>
@@ -30,7 +30,7 @@
 						</div>
 						</div>
 					</div>
 					</div>
 					<div class="form-group">
 					<div class="form-group">
-						<label for="password" class="col-sm-3 control-label">Confirm Password</label>
+						<label for="password_confirmation" class="col-sm-3 control-label">Confirm Password</label>
 						<div class="col-sm-6">
 						<div class="col-sm-6">
 							<input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password">
 							<input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password">
 						</div>
 						</div>

+ 1 - 1
resources/views/auth/reset.blade.php

@@ -25,7 +25,7 @@
 						</div>
 						</div>
 					</div>
 					</div>
 					<div class="form-group">
 					<div class="form-group">
-						<label for="password" class="col-sm-3 control-label">Confirm Password</label>
+						<label for="password_confirmation" class="col-sm-3 control-label">Confirm Password</label>
 						<div class="col-sm-6">
 						<div class="col-sm-6">
 							<input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password">
 							<input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password">
 						</div>
 						</div>