Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 5c8ba1a

Browse files
authored
feat: add readonly option for upload photo form (#41)
* Add readonly option for upload photo form * Upgrade laravel-ui
1 parent 6fbdf68 commit 5c8ba1a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/views/profile/update-profile-photo-form.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class="relative flex flex-col {{ $alignment ?? 'items-center mb-4 md:items-start
77
>
88
<form wire:submit.prevent="store" id="livewire-form">
99
<x-ark-upload-image
10+
:readonly="$readonly"
1011
:image="$this->user->photo"
1112
:upload-text="__('fortify::forms.upload-avatar.upload_avatar')"
1213
:delete-tooltip="__('fortify::forms.upload-avatar.delete_avatar')"

0 commit comments

Comments
 (0)