Blame view

resources/views/employers/dinamo.blade.php 799 Bytes
e3c7b0ffb   Андрей Ларионов   Коммит на понедел...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  @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