|
@@ -10,6 +10,12 @@
|
|
|
|
|
|
background-color: hsl(315, 22%, 86%);
|
|
|
}
|
|
|
+ .required{
|
|
|
+ color:red;
|
|
|
+ }
|
|
|
+ .py-5 {
|
|
|
+ padding-top: 0 !important;
|
|
|
+ }
|
|
|
</style>
|
|
|
@endslot
|
|
|
@slot('subject')
|
|
@@ -24,7 +30,7 @@
|
|
|
<div class="auth-background h-auto py-5">
|
|
|
<div class="container py-5">
|
|
|
<div class="row align-items-center">
|
|
|
- <div class="col-lg-8 col-md-10 mx-auto">
|
|
|
+ <div class="col-lg-11 col-md-11 mx-auto">
|
|
|
<div class="card">
|
|
|
<div class="card-header"><strong>{{ __('ثبت دسته بندی جدید') }}</strong></div>
|
|
|
|
|
@@ -33,7 +39,7 @@
|
|
|
@csrf
|
|
|
|
|
|
<div class="form-group">
|
|
|
- <label for="title">{{ __('نام دسته جدید') }}</label>
|
|
|
+ <label for="title">{{ __('نام دسته ') }}</label><i class="required"> *</i>
|
|
|
<input id="title" type="text"
|
|
|
class="form-control @error('title') is-invalid @enderror" name="title"
|
|
|
value="{{ old('title') }}" required autocomplete="title" autofocus>
|
|
@@ -47,7 +53,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
|
- <label for="slug"> {{ __('نام مستعار دسته بندی ') }}</label>
|
|
|
+ <label for="slug"> {{ __('slug ') }}</label>
|
|
|
<input id="slug" type="text"
|
|
|
class="form-control @error('slug') is-invalid @enderror"
|
|
|
name="slug" value="{{ old('slug') }}" required
|
|
@@ -61,7 +67,7 @@
|
|
|
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
- <label for="parent"> {{ __('کد دسته بندی ') }}</label>
|
|
|
+ <label for="parent"> {{ __('parent ') }}</label>
|
|
|
<input id="parent" type="text"
|
|
|
class="form-control @error('parent') is-invalid @enderror"
|
|
|
name="parent" value="{{ old('parent') }}" required
|
|
@@ -76,7 +82,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
|
- <label for="category_type">{{ __(' نوع دسته بندی') }}</label>
|
|
|
+ <label for="category_type">{{ __(' نوع دسته ') }}</label><i class="required"> *</i>
|
|
|
<select id="category_type" type="text"
|
|
|
class="form-control @error('category_type') is-invalid @enderror"
|
|
|
name="category_type"
|
|
@@ -94,11 +100,10 @@
|
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
- <label for="discription">{{ __(' توضیحات دسته بندی') }}</label>
|
|
|
+ <label for="discription">{{ __(' توضیحات دسته ') }}</label>
|
|
|
<textarea id="discription" type="text"
|
|
|
class="form-control @error('discription') is-invalid @enderror"
|
|
|
name="discription"
|
|
|
- required
|
|
|
autocomplete="discription">{{ old('discription') }}</textarea>
|
|
|
|
|
|
@error('discription')
|