{{ html()->form('POST', route('promotionConfig')) ->attribute('enctype', 'multipart/form-data') ->attribute('data-toggle', 'validator') ->id('myForm') ->open() }} {{ html()->hidden('id', $promotionconfig->id ?? null)->class('form-control')->placeholder('id') }} {{ html()->hidden('type')->value($page)->class('form-control')->placeholder('id') }}