mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
23 lines
781 B
PHP
23 lines
781 B
PHP
<div class="wa-stack wa-gap-3xl">
|
|
<h1>Upload</h1>
|
|
|
|
<form wire:submit="createPost" class="wa-stack wa-gap-xl">
|
|
<wa-card>
|
|
<input wire:model="file" type="file" label="file" placeholder="Select a file to upload." />
|
|
@error('file')
|
|
<span class="wa-caption-m">{{ $message }}</span>
|
|
@enderror
|
|
</wa-card>
|
|
|
|
<wa-select wire:model="rating" label="Rating" value="safe" hint="Select a content rating that matches the file.">
|
|
<wa-option value="safe">Safe</wa-option>
|
|
<wa-option value="suggestive">Suggestive</wa-option>
|
|
<wa-option value="explicit">Explicit</wa-option>
|
|
</wa-select>
|
|
|
|
<wa-button type="submit" variant="brand" wire:loading.attr="disabled">
|
|
<wa-icon slot="prefix" name="arrow-up-from-bracket"></wa-icon>
|
|
Upload
|
|
</wa-button>
|
|
</form>
|
|
</div>
|