mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Merge branch 'develop' into chore/migrate-label-helpers-pt7
This commit is contained in:
commit
1233c939f8
|
@ -126,7 +126,7 @@
|
|||
|
||||
@foreach ($assets as $asset)
|
||||
@php
|
||||
if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->archived == 1){
|
||||
if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus?->archived == 1){
|
||||
continue;
|
||||
}
|
||||
@endphp
|
||||
|
|
|
@ -124,8 +124,8 @@
|
|||
<div class="row">
|
||||
<!-- email-->
|
||||
<div class="form-group col-lg-6{{ $errors->has('email') ? 'error' : '' }}">
|
||||
<label for="email">{{ trans('admin/users/table.email') }}</label>
|
||||
{{ Form::email('email', config('mail.from.address'), array('class' => 'form-control','placeholder' => 'you@example.com', 'required' => true)) }}
|
||||
<label for="email">{{ trans('admin/users/table.email') }}</label>
|
||||
<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>') !!}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue