From d210d464ac22e4dcbe9c19d18c46ef3e2e10147f Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 14 Jan 2024 22:19:59 -0800
Subject: feat(tools): likes

---
 src/lib/Tools/InputTemplate.svelte | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'src/lib/Tools/InputTemplate.svelte')

diff --git a/src/lib/Tools/InputTemplate.svelte b/src/lib/Tools/InputTemplate.svelte
index d0e37f98..42eb695d 100644
--- a/src/lib/Tools/InputTemplate.svelte
+++ b/src/lib/Tools/InputTemplate.svelte
@@ -1,6 +1,7 @@
 <script lang="ts">
 	import { clearAllParameters } from '$lib/Utility/parameters';
 	import { onMount } from 'svelte';
+	import SettingHint from '$lib/Settings/SettingHint.svelte';
 
 	export let field: string;
 	export let submission: string;
@@ -11,6 +12,7 @@
 		return;
 	};
 	export let prompt = `Enter a ${field.toLowerCase()} to search for to continue.`;
+	export let hint: string | undefined = undefined;
 
 	let input = '';
 
@@ -47,6 +49,13 @@
 		>
 			{submitText}
 		</button>
+
+		{#if hint !== undefined}
+			<br />
+			<div style="margin-top: .25rem;">
+				<SettingHint>{hint}</SettingHint>
+			</div>
+		{/if}
 	</p>
 
 	{#if submission !== ''}
-- 
cgit v1.2.3

