|
@@ -1,21 +1,7 @@
|
|
|
@component('panel.layouts.component', ['title' => 'ثبت دسته جدید'])
|
|
|
@slot('style')
|
|
|
<style>
|
|
|
- .card-header {
|
|
|
- text-align: center !important;
|
|
|
- }
|
|
|
|
|
|
- .form-control {
|
|
|
- background-color: hsl(315, 22%, 86%);
|
|
|
- }
|
|
|
-
|
|
|
- .required {
|
|
|
- color: red;
|
|
|
- }
|
|
|
-
|
|
|
- .py-5 {
|
|
|
- padding-top: 0 !important;
|
|
|
- }
|
|
|
</style>
|
|
|
@endslot
|
|
|
@slot('subject')
|
|
@@ -32,7 +18,7 @@
|
|
|
<div class="card">
|
|
|
<div class="card-header"><strong>{{ __('ثبت دسته بندی جدید') }}</strong></div>
|
|
|
<div class="card-body mx-lg-5 px-lg-3">
|
|
|
- <form method="POST" action="{{ route('categories.store') }}">
|
|
|
+ <form method="POST" action="{{ route('categories.store') }}" id="form1">
|
|
|
@csrf
|
|
|
<div class="form-group">
|
|
|
<label for="title">{{ __('category.title') }}</label><i class="required">
|
|
@@ -100,8 +86,8 @@
|
|
|
<div class="form-group" style="direction: rtl !important;">
|
|
|
<label for="discription">{{ __('category.discription') }}</label><i
|
|
|
class="required"> *</i>
|
|
|
- <textarea id="editor" type="text"
|
|
|
- class="form-control @error('discription') is-invalid @enderror"
|
|
|
+ <textarea id="discription" type="text"
|
|
|
+ class="form-control editor @error('discription') is-invalid @enderror"
|
|
|
name="discription"
|
|
|
autocomplete="discription" >{{ old('discription') }}</textarea>
|
|
|
|
|
@@ -136,7 +122,9 @@
|
|
|
@endslot
|
|
|
|
|
|
@slot('script')
|
|
|
+ <script>
|
|
|
|
|
|
+ </script>
|
|
|
@endslot
|
|
|
|
|
|
@endcomponent
|