Added form labels to auth screens

This commit is contained in:
snipe 2020-04-01 04:29:54 -07:00
parent 36f9905be0
commit 9d9b5d3885
2 changed files with 8 additions and 7 deletions

View file

@ -34,7 +34,8 @@
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<div class="col-md-12">
<input type="email" class="form-control" name="email" value="{{ old('email') }}" placeholder="{{ trans('admin/users/table.email') }}">
<label for="email">Email</label>
<input type="email" class="form-control" name="email" value="{{ old('email') }}" placeholder="{{ trans('admin/users/table.email') }}" aria-label="email">
{!! $errors->first('email', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
</div>
</div>

View file

@ -32,28 +32,28 @@
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">{{ trans('admin/users/table.email') }}</label>
<label class="col-md-4 control-label" for="email">{{ trans('admin/users/table.email') }}</label>
<div class="col-md-6">
<input type="email" class="form-control" name="email" maxlength="250" value="{{ $email or old('email') }}">
<input type="email" class="form-control" name="email" maxlength="250" value="{{ $email or old('email') }}" aria-label="email">
{!! $errors->first('email', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
</div>
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">{{ trans('admin/users/table.password') }}</label>
<label class="col-md-4 control-label" for="password">{{ trans('admin/users/table.password') }}</label>
<div class="col-md-6">
<input type="password" class="form-control" name="password">
<input type="password" class="form-control" name="password" aria-label="password">
{!! $errors->first('password', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
</div>
</div>
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">{{ trans('admin/users/table.password_confirm') }}</label>
<label class="col-md-4 control-label" for="password_confirmation">{{ trans('admin/users/table.password_confirm') }}</label>
<div class="col-md-6">
<input type="password" class="form-control" name="password_confirmation">
<input type="password" class="form-control" name="password_confirmation" aria-label="password_confirmation">
{!! $errors->first('password_confirmation', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
</div>