<form method="get">
csrf
<div class="form-control mb-5">
<label class="label cursor-pointer" for="sampleError">
<span class="label-text">
Sample Error:</span>
</label>
<input type="text" class="input input-bordered" name="sampleError" id="sampleError" value="" />
<div class="label"> <span class="label-text-alt text-error">This field is required</span>
</div>
</div>
<div class="form-control mb-5">
<label class="label cursor-pointer" for="sample2Error">
<span class="label-text">
Sample2 Error:</span>
</label>
<input type="text" class="input input-bordered" name="sample2Error" id="sample2Error" value="" />
<div class="label"> <span class="label-text-alt text-error">This field is required</span>
</div>
</div>
</form>
@jrmc.form({ method: 'get', error: false})
@jrmc.form.control({ name: 'sampleError' })
@!jrmc.form.input({ class: 'input-bordered' })
@end
@jrmc.form.control({ name: 'sample2Error' })
@!jrmc.form.input({ class: 'input-bordered' })
@end
@end
No notes defined.