mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-29 20:23:52 +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
|