@extends('backend.layouts.app') @section('content') {{ html()->form('PUT', route('backend.constants.update', $data->id)) ->attribute('enctype', 'multipart/form-data') ->attribute('data-toggle', 'validator') ->attribute('id', 'form-submit') // Add the id attribute here ->class('requires-validation') // Add the requires-validation class ->attribute('novalidate', 'novalidate') // Disable default browser validation ->open() }} @csrf @method('PUT')