@extends('adminlte::page') @section('title', 'Editar curs/taller') @section('content_header') Editar curs/taller {{$curso->name}} @endsection @section('breadcrumb') @endsection @section('css') @endsection @section('content')
{{ html()->form('PUT')->route('cursos.update', $curso->id)->open() }}
{{ html()->input('id')->name('id')->value($curso->id)->class(['hidden']) }}
{{ html()->label('Nom') }} {{ html()->input('name')->name('name')->value($curso->name)->required(true)->class(['form-control']) }}
{{ html()->label('Descripció curta') }} {{ html()->textarea('descripciocurta')->name('descripciocurta')->value($curso->descripciocurta)->required(true)->class(['form-control textotrumbo']) }}
{{ html()->label('Descripció') }} {{ html()->textarea('descripcio')->name('descripcio')->value($curso->descripcio)->required(true)->class(['form-control textotrumbo']) }}
{{ html()->label("Tipus de curs/taller") }}
{{ html()->label("Categoria") }}
{{ html()->label('Durada') }} {{ html()->input('durada')->name('durada')->value($curso->durada)->required(true)->class(['form-control']) }}
{{ html()->label("Presencial/online") }}
{{ html()->label('Data inici') }}
{{ html()->label('Data fi') }}
{{ html()->label('Horari') }} {{ html()->input('horari')->name('horari')->value($curso->horari)->required(true)->class(['form-control']) }}
{{ html()->label('Objectius') }} {{ html()->textarea('objectius')->name('objectius')->value($curso->objectius)->required(true)->class(['form-control textotrumbo']) }}
{{ html()->label('Continguts') }} {{ html()->textarea('continguts')->name('continguts')->value($curso->continguts)->required(true)->class(['form-control textotrumbo']) }}
{{ html()->label('Requisits') }} {{ html()->textarea('requisits')->name('requisits')->value($curso->requisits)->required(true)->class(['form-control textotrumbo']) }}
Imatge

Imatge del curs/taller

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