Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
65 lines
2.2 KiB
PHP
65 lines
2.2 KiB
PHP
@extends('layouts.skeleton')
|
|
|
|
@section('content')
|
|
<div class="people-show">
|
|
|
|
{{-- Breadcrumb --}}
|
|
<div class="breadcrumb">
|
|
<div class="{{ Auth::user()->getFluidLayout() }}">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<ul class="horizontal">
|
|
<li>
|
|
<a href="{{ route('dashboard.index') }}">{{ trans('app.breadcrumb_dashboard') }}</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route('people.index') }}">{{ trans('app.breadcrumb_list_contacts') }}</a>
|
|
</li>
|
|
<li>
|
|
{{ $contact->name }}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Page header -->
|
|
@include('people._header')
|
|
|
|
<!-- Page content -->
|
|
<div class="main-content food-preferences central-form">
|
|
<div class="{{ Auth::user()->getFluidLayout() }}">
|
|
<div class="row">
|
|
<div class="col-12 col-sm-6 offset-sm-3 offset-sm-3-right">
|
|
<form method="POST" action="{{ route('people.food.update', $contact) }}">
|
|
@csrf
|
|
|
|
<h2>{{ trans('people.food_preferences_edit_title') }}</h2>
|
|
|
|
@include('partials.errors')
|
|
|
|
<p>
|
|
@if (is_null($contact->last_name))
|
|
{{ trans('people.food_preferences_edit_description_no_last_name', ['firstname' => $contact->first_name]) }}</p>
|
|
@else
|
|
{{ trans('people.food_preferences_edit_description', ['firstname' => $contact->first_name, 'family' => $contact->last_name]) }}</p>
|
|
@endif
|
|
|
|
<div class="form-group">
|
|
<textarea class="form-control" id="food" name="food" rows="3">{{ $contact->food_preferences }}</textarea>
|
|
</div>
|
|
|
|
<div class="form-group actions">
|
|
<button type="submit" class="btn btn-primary">{{ trans('people.food_preferences_edit_cta') }}</button>
|
|
<a href="{{ route('people.show', $contact) }}" class="btn btn-secondary">{{ trans('app.cancel') }}</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
@endsection
|