resources/views/character/profession/show.blade.php: show specialization.
This commit is contained in:
parent
89d88110f5
commit
ee6e2d8925
1 changed files with 7 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue