@extends('adminlte::page') @section('title', 'Editar notícia') @section('content_header') Editar notícia {{$noticia->titol}} @endsection @section('breadcrumb') @endsection @section('css') @endsection @section('content')
{{ html()->form('PUT')->route('noticias.update', $noticia->id)->open() }}
{{ html()->input('id')->name('id')->value($noticia->id)->class(['hidden']) }}
{{ html()->label('Títol') }} {{ html()->input('title')->name('title')->value($noticia->title)->required(true)->class(['form-control']) }}
{{ html()->label('Data de publicació') }}
{{ html()->label('Descripció curta') }} {{ html()->textarea('shortcontent')->name('shortcontent')->value($noticia->shortcontent)->required(true)->class(['form-control textotrumbo']) }}
{{ html()->label('Descripció') }} {{ html()->textarea('content')->name('content')->value($noticia->content)->required(true)->class(['form-control textotrumbo']) }}
Imatge

Imatge de la notícia

Imatge actual:

Canviar la imatge:
Ajustar la mida: ajusti la mida perquè la foto ompli tot l'espai disponible
{{ html()->submit('Guardar')->class(['form-control']) }}
{{ html()->form()->close() }}
@endsection @section('js') @endsection