resources/views/recipe/show.blade.php: show wowhead link.
This commit is contained in:
parent
3face4481a
commit
329c753105
1 changed files with 7 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue