ldc-doux/resources/views/back/texts/edit.blade.php
2022-02-01 12:44:02 +01:00

23 lines
917 B
PHP

@extends('layouts.backend')
@section('content')
<form action="{{route('bo.texts.update', $text->id)}}" method="POST" enctype="multipart/form-data">
@method('PUT')
@csrf
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 class="h2">
@if($text->page == Page::newsQuestions())
<a href="{{route('bo.texts.content', $text->page)}}" class="h2 text-decoration-none"> < </a>
{{ __('Questions / Réponses') }}
@else
{{ ucfirst($text->page->label) }}
@endif
<small class="text-muted">{{ __('Edition') }}</small></h1>
<div class="btn-toolbar mb-2 mb-md-0">
<button type="submit" class="btn btn-sm btn-primary">{{ __('Enregistrer') }}</a>
</div>
</div>
@include('back.texts.form-inputs')
</form>
@endsection