fix babycode editor buttons not working in user settings

This commit is contained in:
2025-05-26 02:26:56 +03:00
parent a2d3672fa8
commit 07a65e9633
3 changed files with 5 additions and 5 deletions

View File

@ -17,8 +17,8 @@
<form method="post" action="">
<label for="status">Status</label>
<input type="text" id="status" name="status" value="<%= me.status %>" maxlength="70" placeholder="Will be shown under your username. Max 70 characters">
<label for="signature">Signature</label><br>
<% render("views.common.babycode-editor-component", {ta_name = "signature", ta_id = "signature", prefill = me.signature_original_markup, ta_placeholder = "Will be shown under each of your posts", optional = true}) %>
<label for="babycode-content">Signature</label><br>
<% render("views.common.babycode-editor-component", {ta_name = "signature", prefill = me.signature_original_markup, ta_placeholder = "Will be shown under each of your posts", optional = true}) %>
<input type="submit" value="Save settings">
</form>
<div>