ldc-loue/resources/views/back/engagements/edit.blade.php

31 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2022-09-19 09:10:04 +00:00
@extends('layouts.back')
2022-09-23 17:19:00 +02:00
@section('title', $engagement->title_simple )
2022-09-19 09:10:04 +00:00
@section('breadcrumb', request()->route()->getName())
@section('content')
<div class="card">
<div class="card-body">
<form action="{{ route('bo.engagements.update', $engagement) }}" method="POST" enctype="multipart/form-data">
@method('PUT')
@csrf
<div class="row">
2022-09-23 17:19:00 +02:00
<div class="col-md-12">
2022-09-19 09:10:04 +00:00
@include('back.engagements.form')
@include('back.modules.minicrud-form-inputs', ['model' => $engagement])
<div class="form-group text-center mt-3">
<button type="submit" class="btn btn-primary"
title="{{ __('Modifier la page :model en base', [
2022-09-23 17:19:00 +02:00
'model' => $engagement->title_simple
2022-09-19 09:10:04 +00:00
]) }}" data-bs-toggle="tooltip">
<i class="fa-solid fa-pen"></i>
</button>
</div>
</div>
</div>
</form>
</div>
</div>
@endsection