master
kek7198 2021-12-02 21:32:28 -06:00
parent 05b416fd87
commit 63ef5f2792
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input type="hidden" name="current_page" value="{{request.path}}">
<input name="title" class="form-input border-dashed mb-2" required placeholder="title" value="{{p.title}}">
<div class="rounded border border-gray-300 border-dashed bg-white shadow-inner w-full">
<textarea name="body" maxlength="10000" id="post-edit-box-{{p.id}}" form="post-edit-form-{{p.id}}" class="p-2 w-full" aria-label="With textarea" placeholder="Add text to your post..." rows="10">{{p.body}}</textarea>
<div class="rounded border border-gray-300 border-dashed bg-white w-full">
<textarea name="body" maxlength="10000" id="post-edit-box-{{p.id}}" form="post-edit-form-{{p.id}}" class="p-2 shadow-inner w-full" aria-label="With textarea" placeholder="Add text to your post..." rows="10">{{p.body}}</textarea>
<ul class="-mt-1 flex space-x-4 px-3 py-2 border-t border-dashed border-gray-400">
<li>
<button type="button" class="text-gray-500 hover:text-gray-400" onclick="makeBold('post-edit-box-{{p.id}}')">