From 22ce0549e20ee397cf5953bd6b7aafc752deaa28 Mon Sep 17 00:00:00 2001
From: Owen Jacobson <owen@grimoire.ca>
Date: Sat, 2 Nov 2024 20:02:24 -0400
Subject: Run prettier, make lint part of pre-commit

---
 ui/lib/components/LogIn.svelte | 48 +++++++++++++++++++++++++++---------------
 1 file changed, 31 insertions(+), 17 deletions(-)

(limited to 'ui/lib/components/LogIn.svelte')

diff --git a/ui/lib/components/LogIn.svelte b/ui/lib/components/LogIn.svelte
index bb80ccd..4346c47 100644
--- a/ui/lib/components/LogIn.svelte
+++ b/ui/lib/components/LogIn.svelte
@@ -1,22 +1,36 @@
 <script>
-    export let disabled = false;
-    export let username = '';
-    export let password = '';
-    export let legend = 'sign in';
+	export let disabled = false;
+	export let username = '';
+	export let password = '';
+	export let legend = 'sign in';
 </script>
 
 <div class="card m-4 p-4">
-    <form on:submit|preventDefault>
-        <label class="label" for="username">
-            username
-            <input class="input" name="username" type="text" placeholder="username" bind:value={username} disabled={disabled}>
-        </label>
-        <label class="label" for="password">
-            password
-            <input class="input" name="password" type="password" placeholder="password" bind:value={password} disabled={disabled}>
-        </label>
-        <button class="btn variant-filled" type="submit">
-            {legend}
-        </button>
-    </form>
+	<form on:submit|preventDefault>
+		<label class="label" for="username">
+			username
+			<input
+				class="input"
+				name="username"
+				type="text"
+				placeholder="username"
+				bind:value={username}
+				{disabled}
+			/>
+		</label>
+		<label class="label" for="password">
+			password
+			<input
+				class="input"
+				name="password"
+				type="password"
+				placeholder="password"
+				bind:value={password}
+				{disabled}
+			/>
+		</label>
+		<button class="btn variant-filled" type="submit">
+			{legend}
+		</button>
+	</form>
 </div>
-- 
cgit v1.2.3

