@extends('backend.layouts.app') @section('content') {{ html()->form('POST' ,route('backend.planlimitation.store')) ->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() }}
{{ html()->label(__('plan_limitation.lbl_title') . ' *', 'title')->class('form-label') }} {{ html()->text('title') ->attribute('value', old('title')) ->placeholder(__('placeholder.lbl_plan_limit_title')) ->class('form-control') ->attribute('required','required') }} @error('title') {{ $message }} @enderror
Title field is required
{{ html()->label(__('plan.lbl_status'), 'status')->class('form-label') }}
{{ html()->label(__('messages.active'), 'status')->class('form-label mb-0 text-body') }}
{{ html()->hidden('status', 1) }} {{ html()->checkbox('status', 1) ->class('form-check-input') ->id('status') }}
@error('status') {{ $message }} @enderror
{{ html()->label(__('plan.lbl_description') . ' *', 'description')->class('form-label') }} {{ html()->textarea('description') ->attribute('value', old('description'))->placeholder(__('placeholder.lbl_plan_limit_description')) ->class('form-control')->rows('6') ->attribute('required','required') }} @error('description') {{ $message }} @enderror
Description field is required
{{ html()->submit(trans('messages.save'))->class('btn btn-md btn-primary float-right')->id('submit-button') }}
{{ html()->form()->close() }} @endsection