@extends('adminlte::page') @section('title', 'Editar oferta') @section('content_header') Editar oferta {{$oferta->name}} @endsection @section('breadcrumb') @endsection @section('css') @endsection @section('content')
{{ html()->form('PUT')->route('ofertas.update', $oferta->id)->open() }}
{{ html()->input('id')->name('id')->value($oferta->id)->class(['hidden']) }}
{{ html()->label('Nom') }} {{ html()->input('name')->name('name')->value($oferta->name)->required(true)->class(['form-control']) }}
{{ html()->label('Número oferta') }} {{ html()->input('numerooferta')->name('numerooferta')->value($oferta->numerooferta)->required(true)->class(['form-control']) }}
{{ html()->label('Descripció curta') }} {{ html()->textarea('descripciocurta')->name('descripciocurta')->value($oferta->descripciocurta)->required(true)->class(['form-control textotrumbo']) }}
{{ html()->label('Descripció llarga') }} {{ html()->textarea('descripciollarga')->name('descripciollarga')->value($oferta->descripciollarga)->required(true)->class(['form-control textotrumbo']) }}
{{ html()->label('Link') }} {{ html()->input('link')->name('link')->value($oferta->link)->required(true)->class(['form-control']) }}
{{ html()->label('Municipi') }} {{ html()->input('municipi')->name('municipi')->value($oferta->municipi)->required(true)->class(['form-control']) }}
{{ html()->label('Data de Publicació') }} {{ html()->date('datapublicacio')->name('datapublicacio')->value($oferta->datapublicacio)->class(['form-control']) }}
{{ html()->submit('Guardar')->class(['form-control']) }}
{{ html()->form()->close() }}
@endsection @section('js') @endsection