mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
26 lines
1,004 B
PHP
26 lines
1,004 B
PHP
<div class="wa-stack wa-gap-3xl">
|
|
<wa-breadcrumb class="wa-heading-l">
|
|
<wa-breadcrumb-item href="{{ route('home') }}" wire:navigate.hover>{{ config('app.name') }}</wa-breadcrumb-item>
|
|
<wa-breadcrumb-item>upload</wa-breadcrumb-item>
|
|
</wa-breadcrumb>
|
|
|
|
<form wire:submit="createPost" class="wa-stack wa-gap-xl">
|
|
<wa-card class="wa-stack">
|
|
<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">
|
|
<livewire:app.icon slot="prefix" name="arrow-up-from-bracket" />
|
|
Upload
|
|
</wa-button>
|
|
</form>
|
|
</div>
|