mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Change variable name to keep foreach scoped
This commit is contained in:
parent
bbfee27fd3
commit
1a1f417633
|
@ -464,9 +464,9 @@
|
|||
data-allow-clear="true"
|
||||
>
|
||||
<option></option>
|
||||
@foreach($report_templates as $template)
|
||||
<option value="{{ $template->id }}" @if (request()->route()->parameter('reportId') == $template->id) selected @endif>
|
||||
{{ $template->name }}
|
||||
@foreach($report_templates as $savedTemplate)
|
||||
<option value="{{ $savedTemplate->id }}" @if (request()->route()->parameter('reportId') == $savedTemplate->id) selected @endif>
|
||||
{{ $savedTemplate->name }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
|
Loading…
Reference in a new issue