mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
fix: textarea md editor
This commit is contained in:
@@ -28,11 +28,10 @@
|
||||
</span>
|
||||
</label>
|
||||
<div class="mt-10">
|
||||
<%= f.text_area :email, class:"form-control", rows: "10", cols: "20",placeholer: "邮件模版" %>
|
||||
<div class="pl-0 my-3 setting-item-body" id="message-template-email-editor">
|
||||
<%= f.text_area :email, class:"form-control", style: 'display: none;', rows: "10", cols: "20", placeholer: "请输入邮件模版" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
$("#admins-message-templates-content").html("<%= j render partial: 'admins/message_templates/form', locals:{type: 'update'} %>")
|
||||
$("#admins-message-templates-content").html("<%= j render partial: 'admins/message_templates/form', locals:{type: 'update'} %>")
|
||||
createMDEditor('message-template-email-editor', { height: 200, placeholder: '请输入邮件模版' });
|
||||
|
||||
Reference in New Issue
Block a user