Skip to content

Commit 202f67d

Browse files
add checkbox to delete threads or not when banning user
1 parent e795f2d commit 202f67d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

resources/views/users/profile.blade.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,11 @@ class="w-full bg-center bg-gray-800 h-60 container mx-auto"
238238
type="update"
239239
>
240240
<p>Banning this user will prevent them from logging in, posting threads and replying to threads.</p>
241-
<div class="mt-4">
241+
<div class="mt-4 space-y-4">
242242
<x-forms.inputs.textarea name="reason" placeholder="Provide a reason for banning this user..." required />
243+
<x-forms.inputs.checkbox name="delete_threads" id="delete_threads">
244+
Delete threads
245+
</x-forms.inputs.checkbox>
243246
</div>
244247
</x-modal>
245248
@endif

0 commit comments

Comments
 (0)