Fix double id
This commit is contained in:
parent
7699db8f5d
commit
0c020783d4
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@
|
|||
@endif
|
||||
@foreach ($setVal['fields'] as $key => $cur)
|
||||
@if ('info' === $cur['type'])
|
||||
<p id="id-{{ $cur['id'] or $key }}" class="f-yinfo"> @if ($cur['html']){!! $cur['value'] !!} @else{{ $cur['value'] }} @endif</p>
|
||||
<p id="id-{{ $cur['id'] or $setKey.$key }}" class="f-yinfo"> @if ($cur['html']){!! $cur['value'] !!} @else{{ $cur['value'] }} @endif</p>
|
||||
@elseif ('wrap' === $cur['type'])
|
||||
<div id="id-{{ $cur['id'] or $key }}" @if ($cur['class']) class="f-wrap-{{ \implode(' f-wrap-', $cur['class']) }}" @endif>
|
||||
<div id="id-{{ $cur['id'] or $setKey.$key }}" @if ($cur['class']) class="f-wrap-{{ \implode(' f-wrap-', $cur['class']) }}" @endif>
|
||||
@elseif ('endwrap' === $cur['type'])
|
||||
</div>
|
||||
@else
|
||||
|
|
Loading…
Add table
Reference in a new issue