mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
book cases added
This commit is contained in:
24
resources/views/vendor/comments/livewire/partials/newComment.blade.php
vendored
Normal file
24
resources/views/vendor/comments/livewire/partials/newComment.blade.php
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
@if($writable)
|
||||
@can('createComment', $model)
|
||||
<div class="comments-form">
|
||||
@if($showAvatars)
|
||||
<x-comments::avatar/>
|
||||
@endif
|
||||
<form class="comments-form-inner" wire:submit.prevent="comment">
|
||||
<x-dynamic-component
|
||||
:component="\Spatie\LivewireComments\Support\Config::editor()"
|
||||
model="text"
|
||||
:placeholder="__('comments::comments.write_comment')"
|
||||
/>
|
||||
@error('text')
|
||||
<p class="comments-error">
|
||||
{{ $message }}
|
||||
</p>
|
||||
@enderror
|
||||
<x-comments::button submit>
|
||||
{{ __('comments::comments.create_comment') }}
|
||||
</x-comments::button>
|
||||
</form>
|
||||
</div>
|
||||
@endcan
|
||||
@endif
|
||||
Reference in New Issue
Block a user