<form class="c-form js-form-validation" id="id_6aaefba49045d" data-component="form" method="post" action="/submit-form" name="id_6aaefba49045d">
<!-- notice.blade.php -->
<div class="c-notice c-form__notice-failed u-margin__bottom--4 c-notice--danger" aria-hidden="true" id="id_6aaefba49045d-validation-error" data-component="notice" aria-labelledby=
"notice__text__id_6aaefba49045d-validation-error">
<span class="c-notice__icon"><!-- icon.blade.php --></span> <span id="notice__text__id_6aaefba49045d-validation-error" data-js-notice-message="true" class="c-notice__message">There were errors
with your submission. Please correct them and try again.</span>
</div><!-- field.blade.php -->
<div class="c-field c-field--text c-field--md c-field--radius-md" id="id_6aaefba48ff92" data-component="field">
<label class="c-field__label" for="input_id_6aaefba48ff92" id="label_id_6aaefba48ff92">Name <span class="u-color__text--danger" aria-hidden="true">*</span></label>
<div class="c-field__inner c-field__inner--text">
<input id="input_id_6aaefba48ff92" value="" aria-labelledby="label_id_6aaefba48ff92" type="text" name="name" required="required" data-js-required="" data-required="1" aria-required="true"
autocomplete="on" />
<div class="c-field_focus-styler u-level-top"></div><!-- icon.blade.php -->
<!-- icon.blade.php -->
</div>
</div><button class="c-button c-button__filled c-button__filled--default c-button--md" type="submit" aria-label="Submit" data-component="button"><span class="c-button__label"><span class=
"c-button__label-text">Submit</span></span></button>
</form>
@form([
'method' => 'POST',
'action' => '/submit-form',
'validation' => true,
'errorMessage' => 'There were errors with your submission. Please correct them and try again.',
'successMessage' => 'Your form has been submitted successfully!'
])
@field([
'type' => 'text',
'name' => 'name',
'label' => 'Name',
'required' => true,
])
@endfield
@button([
'type' => 'submit',
'text' => 'Submit',
])
@endbutton
@endform