Файловый менеджер - Редактировать - /home/c7lekhnath/silverray.com.au/Modules/Career/resources/views/create.blade.php
Назад
@extends('admin.master_layout') @section('title') <title>{{ __('Create Career') }}</title> @endsection @section('admin-content') <div class="main-content"> <section class="section"> <x-admin.breadcrumb title="{{ __('Create Career') }}" :list="[ __('Dashboard') => route('admin.dashboard'), __('Career') => route('admin.career.index'), __('Create Career') => '#', ]" /> <div class="section-body"> <div class="mt-4 row"> <div class="col-12"> <div class="card"> <div class="card-header d-flex justify-content-between"> <x-admin.form-title :text="__('Create Career')" /> <div> <x-admin.back-button :href="route('admin.career.index')" /> </div> </div> <div class="card-body"> <form action="{{ route('admin.career.store') }}" method="post" enctype="multipart/form-data"> @csrf <div class="row"> <div class="col-md-8 offset-md-2"> <div class="form-group"> <label>{{ __('Image') }}<span class="text-danger">*</span></label> <div id="image-preview" class="image-preview"> <label for="image-upload" id="image-label">{{ __('Image') }}</label> <input type="file" name="image" id="image-upload"> </div> @error('image') <span class="text-danger">{{ $message }}</span> @enderror </div> </div> <div class="col-md-8 offset-md-2"> <div class="form-group"> <x-admin.form-input id="title" name="title" label="{{ __('Title') }}" placeholder="{{ __('Enter Title') }}" value="{{ old('title') }}" required="true"/> </div> </div> <div class="col-md-8 offset-md-2"> <div class="form-group"> <x-admin.form-input id="slug" name="slug" label="{{ __('Slug') }}" placeholder="{{ __('Enter Slug') }}" value="{{ old('slug') }}" required="true" /> </div> </div> <div class="col-md-8 offset-md-2"> <div class="form-group"> <x-admin.form-input id="salary_range" name="salary_range" label="{{ __('Salary Range') }}" placeholder="{{ __('Enter Salary Range') }}" value="{{ old('salary_range') }}" required="true"/> </div> </div> <div class="col-md-8 offset-md-2"> <div class="form-group"> <x-admin.form-input id="address" name="address" label="{{ __('Job Location') }}" placeholder="{{ __('Enter Job Location') }}" value="{{ old('address') }}" required="true"/> </div> </div> <div class="col-md-8 offset-md-2"> <div class="form-group"> <x-admin.form-input id="job_nature" name="job_nature" label="{{ __('Job Nature') }}" placeholder="{{ __('Enter Job Nature') }}" value="{{ old('job_nature') }}" required="true"/> </div> </div> <div class="col-md-8 offset-md-2"> <div class="form-group"> <x-admin.form-input id="office_time" name="office_time" label="{{ __('Office Time') }}" placeholder="{{ __('Enter Office Time') }}" value="{{ old('office_time') }}" required="true"/> </div> </div> <div class="col-md-8 offset-md-2"> <div class="form-group"> <x-admin.form-input class="datepicker" id="deadline" name="deadline" label="{{ __('Deadline') }}" placeholder="{{ __('Enter Deadlinee') }}" value="{{ old('deadline') }}" required="true"/> </div> </div> <div class="col-md-8 offset-md-2"> <div class="form-group"> <x-admin.form-editor id="description" name="description" label="{{ __('Description') }}" value="{!! old('description') !!}" required="true"/> </div> </div> <div class="form-group col-md-8 offset-md-2"> <div class="form-group"> <label> <input type="hidden" value="0" name="status" class="custom-switch-input"> <input type="checkbox" value="1" name="status" class="custom-switch-input" {{ old('status') == 1 ? 'checked' : '' }}> <span class="custom-switch-indicator"></span> <span class="custom-switch-description">{{ __('Status') }}</span> </label> </div> </div> @adminCan('career.store') <div class="text-center offset-md-2 col-md-8"> <x-admin.save-button :text="__('Save')"> </x-admin.save-button> </div> @endadminCan </div> </form> </div> </div> </div> </div> </div> </section> </div> @endsection @push('js') <script src="{{ asset('backend/js/jquery.uploadPreview.min.js') }}"></script> <script> $.uploadPreview({ input_field: "#image-upload", preview_box: "#image-preview", label_field: "#image-label", label_default: "{{ __('Choose Image') }}", label_selected: "{{ __('Change Image') }}", no_label: false, success_callback: null }); </script> <script> (function($) { "use strict"; $(document).ready(function() { $("#title").on("keyup", function(e) { $("#slug").val(convertToSlug($(this).val())); }) }); })(jQuery); function convertToSlug(Text) { return Text .toLowerCase() .replace(/[^\w ]+/g, '') .replace(/ +/g, '-'); } </script> @endpush
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка