add direction profile to direction index
This commit is contained in:
parent
48767bbf27
commit
8d1078e8d5
|
@ -24,7 +24,14 @@
|
|||
@foreach($directions as $direction)
|
||||
<tr class="">
|
||||
<th scope="row">{{ $direction->position }}</th>
|
||||
<td><a href="{{ route('directions.show', $direction) }}">{{ $direction->name }}</a></td>
|
||||
<td><a href="{{ route('directions.show', $direction) }}">{{ $direction->name }}</a>
|
||||
<br>
|
||||
<p @style(['font-size: 0.7em', 'color: grey'])>
|
||||
@foreach($direction->directionProfiles as $directionProfile)
|
||||
{{ $directionProfile->name }}
|
||||
@endforeach
|
||||
</p>
|
||||
</td>
|
||||
<td>{{ Str::words($direction->description, 10, '...') }}</td>
|
||||
<td>{{ $direction->slug }}</td>
|
||||
<td>{{ $direction->department->name }}</td>
|
||||
|
|
Loading…
Reference in New Issue