Skip to content

Instantly share code, notes, and snippets.

@aryadiahmad4689
Created December 24, 2022 01:28
Show Gist options
  • Save aryadiahmad4689/33806ae6ebe41b41575632bdee93643f to your computer and use it in GitHub Desktop.
Save aryadiahmad4689/33806ae6ebe41b41575632bdee93643f to your computer and use it in GitHub Desktop.
<form>
<div class="form-group">
<label for="exampleFormControlInput1">Title</label>
<input type="text" class="form-control" id="exampleFormControlInput1" placeholder="Enter Title" wire:model="title">
@error('title') <span class="text-danger">{{ $message }}</span>@enderror
</div>
<div class="form-group">
<label for="exampleFormControlInput2">Description</label>
<input type="text" class="form-control" id="exampleFormControlInput2" wire:model="description" placeholder="Enter Description">
@error('description') <span class="text-danger">{{ $message }}</span>@enderror
</div>
<button wire:click.prevent="store()" class="btn btn-success">Save</button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment