add validator, optimizations
This commit is contained in:
@@ -1,15 +1,9 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('shop.articles.title'),
|
||||
'subtitle' => __('shop.articles.edit'),
|
||||
'breadcrumb' => [__('shop.articles.title'), __('shop.articles.edit')]
|
||||
'title' => __('shop.articles.title'),
|
||||
'subtitle' => __('shop.articles.edit'),
|
||||
'breadcrumb' => [__('shop.articles.title'), __('shop.articles.edit')],
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Admin.Shop.Articles.store', 'id' => 'article-form', 'autocomplete' => 'off', 'files' => true]) }}
|
||||
<input type="hidden" name="id" id="id" value="{{ $article['id'] ?? null }}">
|
||||
|
||||
@include('Admin.Shop.Articles.form')
|
||||
{{ Form::close() }}
|
||||
|
||||
@include('Admin.Shop.Articles.form')
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user