1
0
Fork 0

resources/views/recipe/show.blade.php: show wowhead link.

This commit is contained in:
Henrik Hautakoski 2021-06-29 17:14:02 +02:00
parent 3face4481a
commit 329c753105

View file

@ -13,9 +13,14 @@
<x-section-heading>
<h2 class="text-3xl">Reagents</h2>
</x-section-heading>
<ul class="px-4">
<ul class="px-4 space-y-2">
@foreach($recipe->reagents as $reagent)
<li><strong>{{ $reagent->pivot->quantity }}</strong>x {{ $reagent->name }}</li>
<li class="flex">
<strong>{{ $reagent->pivot->quantity }}</strong>x {{ $reagent->name }}
@if ($reagent->external_id)
<x-wowhead class="h-5 w-5 ml-2" id="{{ $reagent->external_id }}" />
@endif
</li>
@endforeach
</li>
</div>