feat: add file upload and management features; enhance pagination and permissions handling
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
FormMessage,
|
||||
} from '@kit/ui/form';
|
||||
import { Input } from '@kit/ui/input';
|
||||
import { Textarea } from '@kit/ui/textarea';
|
||||
import { useActionWithToast } from '@kit/ui/use-action-with-toast';
|
||||
|
||||
import {
|
||||
@@ -119,10 +120,10 @@ export function CreateNewsletterForm({
|
||||
<FormItem>
|
||||
<FormLabel>Inhalt (HTML) *</FormLabel>
|
||||
<FormControl>
|
||||
<textarea
|
||||
<Textarea
|
||||
{...field}
|
||||
rows={12}
|
||||
className="border-input bg-background flex min-h-[200px] w-full rounded-md border px-3 py-2 font-mono text-sm"
|
||||
className="min-h-[200px] font-mono"
|
||||
placeholder="<h1>Hallo!</h1><p>Ihr Newsletter-Inhalt...</p>"
|
||||
data-test="newsletter-body-input"
|
||||
/>
|
||||
@@ -138,10 +139,9 @@ export function CreateNewsletterForm({
|
||||
<FormItem>
|
||||
<FormLabel>Nur-Text-Version (optional)</FormLabel>
|
||||
<FormControl>
|
||||
<textarea
|
||||
<Textarea
|
||||
{...field}
|
||||
rows={4}
|
||||
className="border-input bg-background flex min-h-[80px] w-full rounded-md border px-3 py-2 text-sm"
|
||||
placeholder="Nur-Text-Fallback für E-Mail-Clients ohne HTML-Unterstützung"
|
||||
data-test="newsletter-text-input"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user