59 lines
1.5 KiB
PHP
59 lines
1.5 KiB
PHP
@extends('admin::layouts.master')
|
|
|
|
@section('title')
|
|
Create Activity
|
|
@endsection
|
|
|
|
@section('breadcrumb')
|
|
@php
|
|
$breadcrumbData = [
|
|
[
|
|
'title' => 'Activity',
|
|
'link' => 'null',
|
|
],
|
|
[
|
|
'title' => 'Dashboard',
|
|
'link' => route('dashboard'),
|
|
],
|
|
[
|
|
'title' => 'Activities',
|
|
'link' => null,
|
|
],
|
|
[
|
|
'title' => 'Update Activity',
|
|
'link' => null,
|
|
],
|
|
];
|
|
@endphp
|
|
@include('admin::layouts.partials.breadcrumb', $breadcrumbData)
|
|
@endsection
|
|
@section('content')
|
|
{{-- {!! Form::open([
|
|
'route' => 'activities.edit',
|
|
'method' => 'POST',
|
|
'role' => 'form',
|
|
'files' => true,
|
|
|
|
{{-- {!! Form::close() !!} --}}
|
|
|
|
|
|
<div class="row">
|
|
<div class="col-xxl">
|
|
<div class="card mb-4">
|
|
<div class="card-header d-flex align-items-center justify-content-between">
|
|
<h5 class="mb-0">Update Activity</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<form action="{{ route('cms.activities.update', ['uuid' => $activity->uuid]) }}" method="POST"
|
|
enctype="multipart/form-data">
|
|
@csrf
|
|
@method('PUT')
|
|
|
|
@include('activity::partial.form')
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|