@extends('layouts.partials.master') @section('title', 'Editar Destaque') @push('styles') @endpush @section('content')
@include('layouts.components.section-title', ['title' => 'Editar Destaque']) Voltar
@csrf @method('PUT')
@if ($errors->has('title'))
{{ $errors->first('title') }}
@endif
@if ($errors->has('subtitle'))
{{ $errors->first('subtitle') }}
@endif
@if ($errors->has('category'))
{{ $errors->first('category') }}
@endif
@if ($errors->has('order'))
{{ $errors->first('order') }}
@endif

Data inicial*

@if ($errors->has('start_at'))
{{ $errors->first('start_at') }}
@endif

Data final*

@if ($errors->has('end_at'))
{{ $errors->first('end_at') }}
@endif
@if ($errors->has('label'))
{{ $errors->first('label') }}
@endif
@if ($errors->has('url'))
{{ $errors->first('url') }}
@endif
@if ($errors->has('footer_note'))
{{ $errors->first('footer_note') }}
@endif
@include('layouts.components.section-marker', ['section_name' => 'Imagens'])
{{ $errors->first('desktop_img') }}
Formatos: jpeg,png,jpg,gif; Tamanho máximo: 20MB
{{ $errors->first('mobile_img') }}
Formatos: jpeg,png,jpg,gif; Tamanho máximo: 20MB
@if ($highlight->desktop_img) Imagem de desktop @else

Sem imagem

@endif
@if ($highlight->mobile_img) Imagem de telemóvel @else

Sem imagem

@endif
@include('layouts.components.translation-edit')
@endsection