Attribute cleanup and optimisation in preparation to support attribute tags, HomeController return casting
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<!-- $o=Binary\JpegPhoto::class -->
|
||||
<x-attribute.layout :edit="$edit" :new="false" :o="$o">
|
||||
<table class="table table-borderless p-0 m-0">
|
||||
@foreach (($old ? $o->old_values : $o->values) as $value)
|
||||
@foreach (($old ? $o->values_old : $o->values) as $value)
|
||||
<tr>
|
||||
@switch ($x=$f->buffer($value,FILEINFO_MIME_TYPE))
|
||||
@case('image/jpeg')
|
||||
|
Reference in New Issue
Block a user