dinamo.blade.php 799 Bytes
@if ($data_flots->count())
    @foreach ($data_flots as $it)
        <div class="cabinet__fleet-item main__employer-page-one-item">
            <button type="button" class="del die_black" data-test="{{ $it->id }}" data-link="{{ route('employer.delete_flot', ['Flot' => $it->id]) }}">
                <svg>
                    <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use>
                </svg>
            </button>
            @if (!empty($it->image))
                <img src="{{ asset(Storage::url($it->image)) }}" alt="{{ $it->name }}">
            @else
                <img src="{{ asset('images/default_ship.jpg') }}" alt="{{ $it->name }}"/>
            @endif
            <b>{{ $it->name }}</b>
            <span>{{ $it->text }}</span>
        </div>
    @endforeach
@endif