mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-14 23:23:37 +08:00
8 lines
257 B
PHP
8 lines
257 B
PHP
|
{{--
|
||
|
$params - The query paramters to convert to inputs.
|
||
|
--}}
|
||
|
@foreach(array_intersect_key(request()->query(), array_flip($params)) as $name => $value)
|
||
|
@if ($value)
|
||
|
<input type="hidden" name="{{ $name }}" value="{{ $value }}">
|
||
|
@endif
|
||
|
@endforeach
|