Current File : /home/tradevaly/prioyshi.com/project/resources/views/admin/childcategory/create.blade.php |
@extends('layouts.load')
@section('content')
<div class="content-area">
<div class="add-product-content">
<div class="row">
<div class="col-lg-12">
<div class="product-description">
<div class="body-area" id="modalEdit">
@include('includes.admin.form-error')
<form id="geniusformdata" action="{{route('admin-childcat-create')}}" method="POST" enctype="multipart/form-data">
{{csrf_field()}}
<div class="row">
<div class="col-lg-4">
<div class="left-area">
<h4 class="heading">{{ __('Category') }} *</h4>
</div>
</div>
<div class="col-lg-7">
<select id="cat" required="">
<option value="">{{ __('Select Category') }}</option>
@foreach($cats as $cat)
<option data-href="{{ route('admin-subcat-load',$cat->id) }}" value="{{ $cat->id }}">{{ $cat->name }}</option>
@endforeach
</select>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div class="left-area">
<h4 class="heading">{{ __('Sub Category') }} *</h4>
</div>
</div>
<div class="col-lg-7">
<select id="subcat" name="subcategory_id" required="" disabled=""></select>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div class="left-area">
<h4 class="heading">{{ __('Name') }} *</h4>
<p class="sub-heading">{{ __('(In Any Language)') }}</p>
</div>
</div>
<div class="col-lg-7">
<input type="text" class="input-field" name="name" placeholder="{{ __('Enter Name') }}" required="" value="">
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div class="left-area">
<h4 class="heading">{{ __('Slug') }} *</h4>
<p class="sub-heading">{{ __('(In English)') }}</p>
</div>
</div>
<div class="col-lg-7">
<input type="text" class="input-field" name="slug" placeholder="{{ __('Enter Slug') }}" required="" value="">
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div class="left-area">
<h4 class="heading">{{ __('Meta Title') }} *</h4>
</div>
</div>
<div class="col-lg-7">
<input type="text" class="input-field" name="meta_title" placeholder="{{ __('Meta Title') }}" value="">
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div class="left-area">
<h4 class="heading">
{{ __('Meta Description') }} *
</h4>
</div>
</div>
<div class="col-lg-7">
<div class="text-editor">
<textarea class="input-field" name="meta_description" placeholder="{{ __('Meta Description') }}"></textarea>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-lg-4">
<div class="left-area">
</div>
</div>
<div class="col-lg-7">
<button class="addProductSubmit-btn" type="submit">{{ __('Create') }}</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection