2024-01-09 06:44:50 +00:00
|
|
|
<!-- @todo We are not handling redirect backs with updated values -->
|
2024-01-09 12:28:17 +00:00
|
|
|
<!-- $o=Password::class -->
|
|
|
|
<x-attribute.layout :edit="$edit" :new="$new" :o="$o">
|
|
|
|
@foreach ($o->values as $value)
|
|
|
|
@if ($edit)
|
|
|
|
<div class="input-group has-validation">
|
|
|
|
<input type="password" class="form-control @if($e=$errors->get($o->name_lc.'.'.$loop->index))is-invalid @endif mb-1 @if($o->values->search($value) === FALSE) border-focus @endif" name="{{ $o->name_lc }}[]" value="{{ md5($value) }}" readonly="true">
|
2023-04-02 12:07:15 +00:00
|
|
|
|
2024-01-09 12:28:17 +00:00
|
|
|
<div class="invalid-feedback pb-2">
|
|
|
|
@if($e)
|
|
|
|
{{ join('|',$e) }}
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
{{ $value }}<br>
|
|
|
|
@endif
|
|
|
|
@endforeach
|
2024-01-09 06:44:50 +00:00
|
|
|
|
2024-01-09 12:28:17 +00:00
|
|
|
<span class="p-0 m-0">
|
|
|
|
<span class="btn btn-sm btn-outline-dark mt-3"><i class="fas fa-user-check"></i> @lang('Check Password')</span>
|
|
|
|
</span>
|
|
|
|
</x-attribute.layout>
|