ldc-tregalette/resources/views/bo/pages/commitment_pages/edit.blade.php
2023-12-15 15:53:55 +00:00

35 lines
1.7 KiB
PHP

@extends('bo.layout', ['brParam' => $commitmentPageModel])
@section('title', __('Édition de la :model', ['model' => trans_choice('models.classes.commitment_page', 1)]))
@section('description', __('Édition du contenu de la :model', ['model' => trans_choice('models.classes.commitment_page', 1)]))
@section('breadcrumb',
request()->route()->getName())
@section('content')
<div class="d-flex justify-content-between flex-md-nowrap align-items-center flex-wrap pb-3">
<div class="d-flex align-items-start flex-row">
@include('modules.breadcrumbs.breadcrumb-body', ['brParam' => $commitmentPageModel])
</div>
<div class="mb-md-0 mb-2">
<div class="btn-group">
<button class="btn btn-primary" id="formSubmitClone" data-bs-toggle="tooltip" type="submit"
title="{{ __('crud.helpers.save_model', ['model' => trans_choice('models.classes.commitment_page', 1)]) }}">
{{ Str::ucfirst(__('crud.actions.save')) }}
</button>
</div>
</div>
</div>
<form action="{{ route('bo.commitmentpages.update', $commitmentPageModel) }}" method="POST" enctype="multipart/form-data">
@csrf
@method('PUT')
@include('bo.pages.commitment_pages.form')
<div class="row">
<div class="col text-center">
<button class="btn btn-primary" id="formSubmit" data-bs-toggle="tooltip" type="submit"
title="{{ __('crud.helpers.save_model', ['model' => trans_choice('models.classes.commitment_page', 1)]) }}">
{{ Str::ucfirst(__('crud.actions.save')) }}
</button>
</div>
</div>
</form>
@endsection