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

Imatge de la notícia

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