20 lines
938 B
HTML
20 lines
938 B
HTML
<div class="space-y-6">
|
|||
|
|
<div>
|
||
|
|
<label for="title" class="block text-sm font-medium text-gray-700 mb-1">Title</label>
|
||
|
|
<input type="text" id="title" name="title"
|
||
|
|
value="{{title}}"
|
||
|
|
placeholder="Your post title"
|
||
|
|
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition">
|
||
|
|
</div>
|
||
|
|
<div>
|
||
|
|
<label for="body" class="block text-sm font-medium text-gray-700 mb-1">Body</label>
|
||
|
|
<textarea id="body" name="body" rows="12"
|
||
|
|
placeholder="Write your post..."
|
||
|
|
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition resize-y">{{body}}</textarea>
|
||
|
|
</div>
|
||
|
|
<button type="submit"
|
||
|
|
class="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition font-medium">
|
||
|
|
Save Post
|
||
|
|
</button>
|
||
|
|
</div>
|