@extends('petugas.layouts.layout_dashboard') @section("title") Edit @endsection @section("breadcrumb") @endsection @section('footer-scripts') @include('petugas.components.notification') @endsection @section("content")
edit

Edit Home Link

{{ Form::open([ 'route' => ['petugas.home_link.update', $data->id], 'method'=>'PUT', 'enctype'=>"multipart/form-data" ]) }} {{ Form::hidden('id',$data->id) }}
...
Pilih File Pilih File
Remove
@error('image') {{ $message }} @enderror
{{ Form::text('label', $data->label, [ 'id'=>"label" , 'class' => 'form-control', 'placeholder' => '...' ]) }} @error('label') {{ $message }} @enderror
{{ Form::text('url', $data->url, [ 'id'=>"url" , 'class' => 'form-control', 'placeholder' => '...' ]) }} @error('url') {{ $message }} @enderror

{{ Form::close() }}
@endsection