forked from eatvio/eatvio-infra
live charts update added
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
<pre x-show="!editMode" x-html="$wire.description"></pre>
|
||||
@if(auth()->user()->id === $user->id)
|
||||
<textarea x-show="editMode" x-on:click.outside="editMode = false" x-transition rows="8" cols="40" x-text="$wire.description" x-model.lazy="$wire.description"></textarea>
|
||||
<button type="button" class="inline-flex items-center px-4 py-2 bg-white border border-gray-300 rounded-md font-semibold text-xs text-gray-700 uppercase tracking-widest shadow-sm hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:ring focus:ring-blue-200 active:text-gray-800 active:bg-gray-50 disabled:opacity-25 transition mt-2 mr-2" x-on:click="editMode = ! editMode">Редактировать</button>
|
||||
<button type="button" class="inline-flex items-center px-4 py-2 bg-white border border-gray-300 rounded-md font-semibold text-xs text-gray-700 uppercase tracking-widest shadow-sm hover:text-gray-500 focus:outline-none focus:border-blue-300 focus:ring focus:ring-blue-200 active:text-gray-800 active:bg-gray-50 disabled:opacity-25 transition mt-2 mr-2" x-on:click="editMode = ! editMode">{{ __('profile.edit') }}</button>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user