mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-16 23:18:56 +08:00
fix: system notification edit error
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div class="box search-form-container project-list-form">
|
||||
<div style="line-height: 38px;" class="flex-1"><%= type == "create" ? "新建" : "编辑" %>忽略文件</div>
|
||||
<%= link_to "返回", admins_project_ignores_path, class: "btn btn-default pull-right" %>
|
||||
<div style="line-height: 38px;" class="flex-1"><%= type == "create" ? "新建" : "编辑" %>系统通知</div>
|
||||
<%= link_to "返回", admins_system_notifications_path, class: "btn btn-default pull-right" %>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
$("#admins-system-notification-content").html("<%= j render(partial: 'admins/system_notifications/form', locals: {type: 'create'}) %>")
|
||||
$("#admins-system-notification-content").html("<%= j render(partial: 'admins/system_notifications/form', locals: {type: 'update'}) %>")
|
||||
createMDEditor('system-notification-content-editor', { height: 500, placeholder: '请输入邮件模版' });
|
||||
Reference in New Issue
Block a user