forgeplus/app/views/admins/message_templates/edit.js.erb

3 lines
233 B
Plaintext

$("#admins-message-templates-content").html("<%= j render partial: 'admins/message_templates/form', locals:{type: 'update'} %>")
createMDEditor('message-template-email-editor', { height: 500, placeholder: '请输入邮件模版' });