Created
December 24, 2022 01:28
-
-
Save aryadiahmad4689/33806ae6ebe41b41575632bdee93643f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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