master
Aevann1 2021-10-16 21:26:18 +02:00
parent 29f320ec39
commit 2d702e6937
2 changed files with 2 additions and 2 deletions

View File

@ -496,7 +496,7 @@
<form id="profile-bio" action="/settings/profile" method="post" enctype="multipart/form-data"> <form id="profile-bio" action="/settings/profile" method="post" enctype="multipart/form-data">
<input type="hidden" name="formkey" value="{{v.formkey}}"> <input type="hidden" name="formkey" value="{{v.formkey}}">
<div class="input-group mb-2"> <div class="input-group mb-2">
<textarea class="form-control rounded" id="bio-text" aria-label="With textarea" placeholder="Tell the community a bit about yourself." rows="3" name="bio" form="profile-bio" maxlength="1500">{{v.bio}}</textarea> <textarea class="form-control rounded" id="bio-text" aria-label="With textarea" placeholder="Tell the community a bit about yourself." rows="3" name="bio" form="profile-bio" maxlength="1500">{% if v.bio %}{{v.bio}}{% endif %}</textarea>
</div> </div>
<div class="d-flex"> <div class="d-flex">
<pre style="padding-top:0.7rem" class="btn btn-secondary format d-inline-block m-0 fas fa-bold" aria-hidden="true" onclick="makeBold('bio-text')" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="Bold"></pre> <pre style="padding-top:0.7rem" class="btn btn-secondary format d-inline-block m-0 fas fa-bold" aria-hidden="true" onclick="makeBold('bio-text')" data-bs-toggle="tooltip" data-bs-placement="bottom" title="" data-bs-original-title="Bold"></pre>

View File

@ -86,7 +86,7 @@
</div> </div>
</div> </div>
<div class="px-3"> <div class="px-3">
<span style="color:#ec72de">{{p.author.bio}}</span> <span style="color:#ec72de">{% if p.author.bio %}{{p.author.bio}}{% endif %}</span>
</div> </div>
<div class="border-top d-flex align-items-center p-3 mt-3 gap-3 bg-light"> <div class="border-top d-flex align-items-center p-3 mt-3 gap-3 bg-light">
<span> <span>