Current File : //home/tradevaly/prioyshi.com/project/resources/views/admin/page/create.blade.php |
@extends('layouts.admin')
@section('content')
<div class="content-area">
<div class="mr-breadcrumb">
<div class="row">
<div class="col-lg-12">
<h4 class="heading">{{ __('Add New Page') }} <a class="add-btn" href="{{ url()->previous() }}"><i class="fas fa-arrow-left"></i> {{ __("Back") }}</a></h4>
<ul class="links">
<li>
<a href="{{ route('admin.dashboard') }}">{{ __('Dashboard') }} </a>
</li>
<li>
<a href="javascript:;">{{ __('Menu Page Settings') }} </a>
</li>
<li>
<a href="{{ route('admin-page-index') }}">{{ __('Pages') }}</a>
</li>
<li>
<a href="{{ route('admin-page-create') }}">{{ __('Add') }}</a>
</li>
</ul>
</div>
</div>
</div>
<div class="add-product-content">
<div class="row">
<div class="col-lg-12">
<div class="product-description">
<div class="body-area">
<div class="gocover" style="background: url({{asset('assets/images/'.$gs->admin_loader)}}) no-repeat scroll center center rgba(45, 45, 45, 0.5);"></div>
@include('includes.admin.form-both')
<form id="geniusform" action="{{route('admin-page-create')}}" method="POST" enctype="multipart/form-data">
{{csrf_field()}}
<div class="row">
<div class="col-lg-4">
<div class="left-area">
<h4 class="heading">{{ __('Title') }} *</h4>
<p class="sub-heading">{{ __('In Any Language') }}</p>
</div>
</div>
<div class="col-lg-7">
<input type="text" class="input-field" name="title" placeholder="{{ __('Title') }}" required="" value="{{ Request::old('title') }}">
</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="{{ __('Slug') }}" required="" value="{{ Request::old('slug') }}">
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div class="left-area">
<h4 class="heading">
{{ __('Description') }} *
</h4>
</div>
</div>
<div class="col-lg-7">
<textarea class="nic-edit-p" name="details" placeholder="{{ __('Description') }}">{{ Request::old('details') }}</textarea>
<div class="checkbox-wrapper">
<input type="checkbox" name="secheck" class="checkclick" id="allowProductSEO">
<label for="allowProductSEO">{{ __('Allow Page SEO') }}</label>
</div>
</div>
</div>
<div class="showbox">
<div class="row">
<div class="col-lg-4">
<div class="left-area">
<h4 class="heading">{{ __('Meta Tags') }} *</h4>
</div>
</div>
<div class="col-lg-7">
<ul id="metatags" class="myTags">
</ul>
</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 name="meta_description" class="input-field" placeholder="{{ __('Meta Description') }}"></textarea>
</div>
</div>
</div>
</div>
<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 Page') }}</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
@section('scripts')
<script type="text/javascript">
{{-- TAGIT --}}
$("#metatags").tagit({
fieldName: "meta_tag[]",
allowSpaces: true
});
{{-- TAGIT ENDS--}}
</script>
@endsection