Added submit page layout and front matter

This commit is contained in:
Your Name committed 2025-04-28 16:48:54 +00:00
1 parent b7f94ed0f0
commit 7cd127a8a3
8 files changed
+186 -192

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
<form class="space-y-4">
<div class="w-full overflow-x-auto">
<table class="w-full" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>
<table class="w-full min-w-[300px] table-auto" border="0">
<tbody>
<tr>
<td class="py-2 align-top w-24 sm:w-32 text-primary text-sm font-medium">Title:</td>
<td><input type="text" name="title" class="w-full max-w-full sm:w-[350px] md:w-[450px] text-primary text-sm px-3 py-1 border border-gray-300 rounded"></td>
</tr>
<tr>
<td class="py-2 align-top w-24 sm:w-32 text-primary text-sm font-medium">Body:</td>
<td><textarea name="body" rows="5" class="w-full max-w-full sm:w-[350px] md:w-[450px] text-primary text-sm px-3 py-1 border border-gray-300 rounded"></textarea></td>
</tr>
<tr>
<td class="py-2 align-top w-24 sm:w-32 text-primary text-sm font-medium">Category:</td>
<td>
<select name="category" class="w-full max-w-full sm:w-[350px] md:w-[450px] text-primary text-sm px-3 py-1 border border-gray-300 rounded">
<option value="ask">Ask</option>
<option value="show">Show</option>
</select>
</td>
</tr>
<tr>
<td class="py-2 w-24 sm:w-32"></td>
<td><button type="submit" class="px-2 py-1 bg-primary text-white rounded hover:bg-primary-dark">Submit</button></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</form>