|
14 | 14 | <div class="flex-grow space-y-6"> |
15 | 15 | <div class="space-y-1"> |
16 | 16 | <x-label for="name"/> |
17 | | - <x-input name="name" value="{{ Auth::user()->name() }}" required /> |
| 17 | + <x-input name="name" :value="Auth::user()->name()" required /> |
18 | 18 | </div> |
19 | 19 |
|
20 | 20 | <div class="space-y-1"> |
|
31 | 31 | </p> |
32 | 32 | <div class="flex items-center"> |
33 | 33 | <div class="flex-shrink-0 inline-block overflow-hidden" aria-hidden="true"> |
34 | | - <x-avatar search="{{ Auth::user()->emailAddress() }}" provider="gravatar" class="rounded-full h-32 w-32" /> |
| 34 | + <x-avatar :search="Auth::user()->emailAddress()" provider="gravatar" class="rounded-full h-32 w-32" /> |
35 | 35 | <span class="mt-2 text-sm text-gray-500">Change your avatar on <a href="https://gravatar.com/" class="text-lio-700">Gravatar</a>.</span> |
36 | 36 | </div> |
37 | 37 | </div> |
|
41 | 41 | <div class="grid grid-cols-12 gap-6"> |
42 | 42 | <div class="col-span-12"> |
43 | 43 | <x-label for="email" /> |
44 | | - <x-email name="email" value="{{ Auth::user()->emailAddress() }}" required /> |
45 | | - |
| 44 | + <x-email name="email" :value="Auth::user()->emailAddress()" required /> |
| 45 | + |
46 | 46 | @unless(Auth::user()->hasVerifiedEmail()) |
47 | 47 | <span class="mt-2 text-sm text-gray-500"> |
48 | 48 | This email address is not verified yet. |
|
53 | 53 |
|
54 | 54 | <div class="col-span-12 sm:col-span-6"> |
55 | 55 | <x-label for="username" /> |
56 | | - <x-input name="username" value="{{ Auth::user()->username() }}" required /> |
| 56 | + <x-input name="username" :value="Auth::user()->username()" required /> |
57 | 57 | </div> |
58 | 58 |
|
59 | 59 | <div class="col-span-12 sm:col-span-6"> |
60 | 60 | <x-label for="twitter">Twitter handle</x-label> |
61 | | - <x-input name="twitter" value="{{ Auth::user()->twitter() }}" prefix-icon="heroicon-o-at-symbol" /> |
| 61 | + <x-input name="twitter" :value="Auth::user()->twitter()" prefix-icon="heroicon-o-at-symbol" /> |
62 | 62 | <span class="mt-2 text-sm text-gray-500"> |
63 | 63 | Enter your Twitter handle without the leading @ symbol |
64 | 64 | </span> |
|
0 commit comments