Fix form.forkbb.php template
This commit is contained in:
parent
f0b7d0b6ee
commit
f34fe01f07
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
|||
<textarea @if ($cur['required']) required @endif @if ($cur['disabled']) disabled @endif @if ($cur['autofocus']) autofocus @endif class="f-ctrl f-ytxtarea" id="id-{{ $key }}" name="{{ $key }}" @if ($cur['data']) @foreach ($cur['data'] as $k => $v) data-{{ $k }}="{{ $v }}" @endforeach @endif>{{ $cur['value'] or '' }}</textarea>
|
||||
@break
|
||||
@case ('select')
|
||||
<select @if ($cur['required']) required @endif @if ($cur['disabled']) disabled @endif @if ($cur['autofocus']) autofocus @endif @if ($cur['size']) size="{{ $cur['size'] }}" multiple @endif class="f-ctrl" id="id-{{ $key }}" name="{{ $key }}[]">
|
||||
<select @if ($cur['required']) required @endif @if ($cur['disabled']) disabled @endif @if ($cur['autofocus']) autofocus @endif @if ($cur['size']) size="{{ $cur['size'] }}" multiple name="{{ $key }}[]" @else name="{{ $key }}" @endif class="f-ctrl" id="id-{{ $key }}">
|
||||
@if (!($count = null) && \is_array(\reset($cur['options'])) && 1 === \count(\reset($cur['options'])) && ($count = 0)) @endif
|
||||
@foreach ($cur['options'] as $v => $option)
|
||||
@if (\is_array($option))
|
||||
|
|
Loading…
Reference in a new issue