Server IP : 66.29.132.124 / Your IP : 13.59.58.185 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/modules/Tour/Views/admin/category/ |
Upload File : |
@extends('admin.layouts.app') @section('content') <form action="{{route('tour.admin.category.store',['id'=>($row->id) ? $row->id : '-1','lang'=>request()->query('lang')])}}" method="post"> @csrf <div class="container-fluid"> <div class="d-flex justify-content-between mb20"> <div class=""> <h1 class="title-bar">{{$row->id ? __('Edit: ').$row->name : __('Add new category')}}</h1> </div> <div class=""> @if($row->slug) {{--<a class="btn btn-primary btn-sm" href="{{$row->detail_url}}" target="_blank">{{__("View")}}</a>--}} @endif </div> </div> @include('admin.message') @if($row->id) @include('Language::admin.navigation') @endif <div class="lang-content-box"> <div class="row"> <div class="col-md-9"> <div class="panel"> <div class="panel-body"> <h3 class="panel-body-title">{{__("Category Content")}}</h3> @include('Tour::admin/category/form') </div> </div> </div> <div class="col-md-3"> <div class="panel"> <div class="panel-title"><strong>{{__('Publish')}}</strong></div> <div class="panel-body"> @if(is_default_lang()) <div> <label><input @if($row->status=='publish') checked @endif type="radio" name="status" value="publish"> {{__("Publish")}}</label> </div> <div> <label><input @if($row->status=='draft') checked @endif type="radio" name="status" value="draft"> {{__("Draft")}}</label> </div> @endif <div class="text-right"> <button class="btn btn-primary" type="submit"><i class="fa fa-save"></i> {{__('Save Changes')}}</button> </div> </div> </div> </div> </div> </div> </div> </form> @endsection @section ('script.body') @endsection