This commit is contained in:
Ludovic CANDELLIER
2021-04-06 00:10:07 +02:00
parent bba5f6d984
commit 1a7f8fa3f6
3 changed files with 13 additions and 9 deletions

View File

@@ -7,7 +7,7 @@
@section('content')
{{ Form::open(['route' => 'Shop.Admin.PriceGenericCategories.store', 'id' => 'price-generic-category-form', 'autocomplete' => 'off']) }}
<input type="hidden" name="id" value="{{ $generic['id'] }}">
<input type="hidden" name="id" value="{{ $generic_category['id'] }}">
@include('Shop.Admin.PriceGenericCategories.form')
</form>

View File

@@ -1,3 +1,10 @@
<div class="row mb-3">
<div class="col-md-6">
{{ Form::label('name', 'Famille d\'articles') }}
@include('components.select', ['name' => 'article_family_id', 'list' => $families,'value' => $generic_category['article_family_id'] ?? null, 'required' => true])
</div>
</div>
<div class="row mb-3">
<div class="col-md-6">
{{ Form::label('name', 'Nom') }}
@@ -5,10 +12,4 @@
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="float-right mt-3">
@include('components.button-save')
</div>
</div>
</div>
@include('components.save')