-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd89dad
commit 632a2b3
Showing
2 changed files
with
79 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,29 @@ | ||
<div> | ||
{{-- Knowing others is intelligence; knowing yourself is true wisdom. --}} | ||
<form wire:submit.prevent="saveDelivery"> | ||
<div> | ||
<label for="status">Status</label> | ||
<input type="text" id="status" wire:model="status"> | ||
@error('status') <span class="error">{{ $message }}</span> @enderror | ||
</div> | ||
|
||
<div> | ||
<label for="description">Description</label> | ||
<textarea id="description" wire:model="description"></textarea> | ||
@error('description') <span class="error">{{ $message }}</span> @enderror | ||
</div> | ||
|
||
<div> | ||
<label for="attachments">Attachments</label> | ||
<input type="file" id="attachments" wire:model="attachments" multiple> | ||
@error('attachments.*') <span class="error">{{ $message }}</span> @enderror | ||
</div> | ||
|
||
<button type="submit">Create Delivery</button> | ||
</form> | ||
|
||
@if (session()->has('success')) | ||
<div> | ||
{{ session('success') }} | ||
</div> | ||
@endif | ||
</div> |