1
0
Fork 0

resources/views/character/profession/show.blade.php: show specialization.

This commit is contained in:
Henrik Hautakoski 2021-07-11 15:43:31 +02:00
parent 89d88110f5
commit ee6e2d8925

View file

@ -13,7 +13,13 @@
<x-section-heading>
<div class="flex items-end">
<x-profession-icon :name="$ch_prof->profession->name" class="h-8 w-8 mr-2"/>
<h2 class="text-3xl">{{ $ch_prof->profession->name }}</h2>
<h2 class="text-3xl">
@if ($ch_prof->specialization)
{{ $ch_prof->profession->name }}: {{ $ch_prof->specialization->name }}
@else
{{ $ch_prof->profession->name }}
@endif
</h2>
<h3 class="text-xl ml-2">{{ $ch_prof->skill }}</h3>
</div>
</x-section-heading>