mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
user profile updates
This commit is contained in:
parent
c7c621b086
commit
ea140671bc
9 changed files with 78 additions and 27 deletions
|
|
@ -23,10 +23,21 @@
|
|||
<h2>User settings</h2>
|
||||
<form wire:submit>
|
||||
<wa-card>
|
||||
<div class="wa-stack">
|
||||
<span class="wa-heading-m">Profile picture</span>
|
||||
<input type="file" wire:model.live="avatar" wire:loading.attr="disabled" />
|
||||
@error('avatar')
|
||||
<div class="wa-stack wa-gap-l">
|
||||
<div class="wa-stack">
|
||||
<span class="wa-heading-m">Profile picture</span>
|
||||
<input type="file" wire:model.live="avatar" wire:loading.attr="disabled" />
|
||||
@error('avatar')
|
||||
<span class="wa-caption-m">{{ $message }}</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<wa-divider></wa-divider>
|
||||
|
||||
<wa-input wire:model.live="name" label="Display name">
|
||||
<livewire:app.icon slot="start" name="user-tag" />
|
||||
</wa-input>
|
||||
@error('name')
|
||||
<span class="wa-caption-m">{{ $message }}</span>
|
||||
@enderror
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue