Merge pull request #16198 from marcusmoore/chore/migrate-email-helpers

Replace call to Form::email
This commit is contained in:
snipe 2025-02-06 09:57:53 +00:00 committed by GitHub
commit 639aa85353
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,7 +125,7 @@
<!-- email--> <!-- email-->
<div class="form-group col-lg-6{{ $errors->has('email') ? 'error' : '' }}"> <div class="form-group col-lg-6{{ $errors->has('email') ? 'error' : '' }}">
{{ Form::label('email', trans('admin/users/table.email')) }} {{ Form::label('email', trans('admin/users/table.email')) }}
{{ Form::email('email', config('mail.from.address'), array('class' => 'form-control','placeholder' => 'you@example.com', 'required' => true)) }} <input class="form-control" type="email" name="email" id="email" value="{{ old('email', config('mail.from.address')) }}" placeholder="you@example.com" required>
{!! $errors->first('email', '<span class="alert-msg" aria-hidden="true">:message</span>') !!} {!! $errors->first('email', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
</div> </div>