Blade syntax consistency updates - no functional changes
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 4m7s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 2m35s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 4m3s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
2025-06-01 19:28:08 +10:00
parent 6599bb7f4f
commit b08de519d4
16 changed files with 34 additions and 34 deletions

View File

@@ -11,7 +11,7 @@
<sup>
[
@foreach($o->hints as $name => $description)
@if ($loop->index),@endif
@if($loop->index),@endif
<abbr title="{{ $description }}">{{ $name }}</abbr>
@endforeach
]

View File

@@ -6,7 +6,7 @@
<x-attribute.widget.objectclass :o="$o" :edit="$edit" :new="$new" :langtag="$langtag" :updated="$updated" :value="$value" :loop="$loop" />
@else
{{ $o->render_item_old($key) }}
@if ($o->isStructural($value))
@if($o->isStructural($value))
<input type="hidden" name="{{ $o->name_lc }}[{{ $langtag }}][]" value="{{ $value }}">
<span class="float-end">@lang('structural')</span>
@endif

View File

@@ -2,7 +2,7 @@
<div class="input-group has-validation">
<!-- @todo Have an "x" to remove the entry, we need an event to process the removal, removing any attribute values along the way -->
<input type="text" @class(['form-control','input-group-end','is-invalid'=>($e=$errors->get($o->name_lc.'.'.$langtag.'.'.$loop->index)),'mb-1','border-focus'=>! $o->tagValuesOld($langtag)->contains($value),'bg-success-subtle'=>$updated]) name="{{ $o->name_lc }}[{{ $langtag }}][]" value="{{ $value }}" placeholder="{{ Arr::get($o->values,$loop->index,'['.__('NEW').']') }}" @readonly(true)>
@if ($o->isStructural($value))
@if($o->isStructural($value))
<span class="input-group-end text-black-50">@lang('structural')</span>
@else
<span class="input-group-end"><i class="fas fa-fw fa-xmark"></i></span>

View File

@@ -3,7 +3,7 @@
<h4 class="alert-heading"><i class="fas fa-fw fa-thumbs-up"></i> Success!</h4>
<hr>
<ul class="square">
@foreach (session()->get('success') as $item)
@foreach(session()->get('success') as $item)
<li>{{ $item }}</li>
@endforeach
</ul>