Rework Components to use consistent variables and interface

This commit is contained in:
2024-01-20 10:36:30 +11:00
parent cb06f3dcb6
commit 6991983743
12 changed files with 46 additions and 25 deletions

View File

@@ -1,8 +1,8 @@
<!-- @todo We are not handling redirect backs with updated photos -->
<!-- @todo We are not handling redirect backs yet with updated photos -->
<!-- $o=Binary\JpegPhoto::class -->
<x-attribute.layout :edit="$edit" :new="false" :o="$o">
<table class="table table-borderless p-0 m-0">
@foreach ($o->values as $value)
@foreach (($old ? $o->old_values : $o->values) as $value)
<tr>
@switch ($x=$f->buffer($value,FILEINFO_MIME_TYPE))
@case('image/jpeg')