Skip to content

Commit

Permalink
Merge pull request #275 from COS301-SE-2024/hotfix/announcments
Browse files Browse the repository at this point in the history
use textarea instead input
  • Loading branch information
bukhosi-eugene-mpande authored Oct 1, 2024
2 parents 98b551b + a49b6e9 commit 2a7efb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/src/lib/components/modals/announcement/Add.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { enhance } from '$app/forms';
import { Button, Modal, Label, Input } from 'flowbite-svelte';
import { Button, Modal, Label, Input, Textarea } from 'flowbite-svelte';
import toast, { Toaster } from 'svelte-french-toast';
export let id: string;
Expand Down Expand Up @@ -42,7 +42,7 @@
<Input type="text" id="title" name="title" placeholder="Fire Drill" size="md" required />

<Label for="content" class="mb-2 mt-2 text-left">Content</Label>
<Input
<Textarea
type="text"
id="content"
name="content"
Expand Down
4 changes: 2 additions & 2 deletions src/src/lib/components/modals/announcement/Edit.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import { enhance } from '$app/forms';
import { Button, Modal, Label, Input } from 'flowbite-svelte';
import { Button, Modal, Label, Input, Textarea } from 'flowbite-svelte';
import toast, { Toaster } from 'svelte-french-toast';
export let id: string;
Expand Down Expand Up @@ -41,7 +41,7 @@
<Input type="text" id="title" name="title" placeholder="Fire Drill" size="md" />

<Label for="content" class="mb-2 mt-2 text-left">New Content</Label>
<Input
<Textarea
type="text"
id="content"
name="content"
Expand Down

0 comments on commit 2a7efb4

Please sign in to comment.