2024-01-09 17:44:50 +11:00
|
|
|
<!-- @todo We are not handling redirect backs with updated values -->
|
2024-01-09 23:28:17 +11:00
|
|
|
<!-- $o=Password::class -->
|
|
|
|
<x-attribute.layout :edit="$edit" :new="$new" :o="$o">
|
2025-01-16 12:47:55 +11:00
|
|
|
@foreach($o->values as $value)
|
|
|
|
@if($edit)
|
2024-01-09 23:28:17 +11:00
|
|
|
<div class="input-group has-validation">
|
2025-01-15 23:29:53 +11:00
|
|
|
<input type="password" @class(['form-control','is-invalid'=>($e=$errors->get($o->name_lc.'.'.$loop->index)),'mb-1','border-focus'=>$o->values->contains($value)]) name="{{ $o->name_lc }}[]" value="{{ md5($value) }}" @readonly(true)>
|
2023-04-02 22:07:15 +10:00
|
|
|
|
2024-01-09 23:28:17 +11:00
|
|
|
<div class="invalid-feedback pb-2">
|
|
|
|
@if($e)
|
|
|
|
{{ join('|',$e) }}
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@else
|
2025-01-16 12:47:55 +11:00
|
|
|
{{ str_repeat('x',8) }}
|
2024-01-09 23:28:17 +11:00
|
|
|
@endif
|
|
|
|
@endforeach
|
2024-01-09 17:44:50 +11:00
|
|
|
|
2025-01-16 12:47:55 +11:00
|
|
|
@if($edit)
|
|
|
|
<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>
|
|
|
|
@endif
|
2024-01-09 23:28:17 +11:00
|
|
|
</x-attribute.layout>
|