- Created CareerController for handling career-related CRUD operations. - Added Career model with necessary attributes and relationships. - Created migration for careers table with relevant fields. - Developed views for creating, editing, and listing careers. - Implemented DataTables for career listing with action buttons. - Added routes for career management and integrated with sidebar. - Created client-side career detail template and updated career listing page. - Added helper functions to fetch active careers for display.
17 lines
619 B
PHP
17 lines
619 B
PHP
@extends('layouts.app')
|
|
@section('content')
|
|
<x-dashboard.breadcumb :title="$title" />
|
|
<div class="container-fluid">
|
|
@if ($errors->any())
|
|
<x-flash-message type="danger" :messages="$errors->all()" />
|
|
@endif
|
|
<div class="row">
|
|
<div class="col-xl-12">
|
|
{{ html()->modelForm($career, 'PUT')->route('career.update', $career->id)->class('needs-validation')->attributes(['novalidate'])->open() }}
|
|
@include('ccms::career.partials._form')
|
|
{{ html()->closeModelForm() }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|