fix: 🐛 Multiple category field send

This commit is contained in:
IceToast 2023-02-10 00:32:19 +01:00 committed by IceToast
parent c39d6b18b2
commit 309cfa0514

View file

@ -70,9 +70,9 @@
<form action="{{ route('admin.settings.update') }}" method="POST"> <form action="{{ route('admin.settings.update') }}" method="POST">
@csrf @csrf
@method('POST') @method('POST')
<input type="hidden" name="category" value="{{ $category }}">
@foreach ($options as $key => $value) @foreach ($options as $key => $value)
<input type="hidden" name="category" value="{{ $category }}">
<div class="row"> <div class="row">
<div class="col-4 d-flex align-items-center"> <div class="col-4 d-flex align-items-center">
<label for="{{ $key }}">{{ $value['label'] }}</label> <label for="{{ $key }}">{{ $value['label'] }}</label>