fix: allowing users to change artist display name.

This commit is contained in:
2023-12-21 15:31:06 -06:00
parent c46664492d
commit bf30235e1d
2 changed files with 7 additions and 0 deletions

View File

@@ -13,6 +13,11 @@
<div class="col">
<form method="post" action="/update-profile">
@csrf
<div>
<x-input-label for="name" :value="__('Display Name')" />
<x-text-input id="name" name="name" type="text" class="mt-1 block w-full" :value="old('name', $user->artists->first()->name)" required autocomplete="name" />
<x-input-error class="mt-2" :messages="$errors->get('name')" />
</div>
<div>
<x-input-label for="location" :value="__('Location')" />
<x-text-input id="location" name="location" type="text" class="mt-1 block w-full" :value="old('location', $user->artists->first()->location)" required autocomplete="location" />