master
kek7198 2021-12-06 12:46:14 -06:00
parent 9592433068
commit e7b241496f
1 changed files with 29 additions and 0 deletions

View File

@ -351,6 +351,35 @@
</div>
</div>
<!-- Avatar section -->
<div class="rounded-lg divide-y divide-gray-300 bg-gray-100 border border-gray-300 shadow-inset-t-white-10">
<div class="px-4 py-4">
<h2 class="label text-black">Friends</h2>
<form id="profile-friends" action="/settings/profile" method="post" enctype="multipart/form-data">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<textarea id="friends-text" class="form-input" aria-label="With textarea" placeholder="Enter your friends on the site..." rows="3" name="friends" form="profile-friends" maxlength="1500">
{% if v.friends %}{{v.friends}}{% endif %}
</textarea>
<small class="block mt-2 text-gray-400">Limit of 500 characters</small>
<div class="mt-4">
<input class="ml-auto btn btn-gray" type="submit" value="Save changes">
</div>
</form>
</div>
<div class="px-4 py-4">
<h2 class="label text-black">Enemies</h2>
<form id="profile-friends" action="/settings/profile" method="post" enctype="multipart/form-data">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<textarea id="enemies-text" class="form-input" aria-label="With textarea" placeholder="Enter your enemies on the site..." rows="3" name="enemies" form="profile-enemies" maxlength="1500">
{% if v.enemies %}{{v.enemies}}{% endif %}
</textarea>
<small class="block mt-2 text-gray-400">Limit of 500 characters</small>
<div class="mt-4">
<input class="ml-auto btn btn-gray" type="submit" value="Save changes">
</div>
</form>
</div>
</div>
<div class="settings-section rounded mb-0">