|
|
|
@@ -1,5 +1,5 @@ |
|
|
|
<div class="box search-form-container project-list-form"> |
|
|
|
<div style="line-height: 38px;" class="flex-1"><%= type == "create" ? "新建" : "编辑" %>系统通知</div> |
|
|
|
<div style="line-height: 38px;" class="flex-1"><%= type == "create" ? "新建" : "编辑" %>系统公告</div> |
|
|
|
<%= link_to "返回", admins_system_notifications_path, class: "btn btn-default pull-right" %> |
|
|
|
</div> |
|
|
|
|
|
|
|
@@ -8,36 +8,36 @@ |
|
|
|
<div class="form-group"> |
|
|
|
<label> |
|
|
|
<span class="color-grey-6 pt10"> |
|
|
|
系统通知标题 |
|
|
|
系统公告标题 |
|
|
|
<span class="ml10 color-orange mr20">*</span> |
|
|
|
</span> |
|
|
|
</label> |
|
|
|
<div class="mt-10"> |
|
|
|
<%= p.text_field :subject, class: "form-control input-lg", placeholder: "请输入系统通知标题" %> |
|
|
|
<%= p.text_field :subject, class: "form-control input-lg", placeholder: "请输入系统公告标题" %> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label> |
|
|
|
<span class="color-grey-6 pt10"> |
|
|
|
系统通知副标题 |
|
|
|
系统公告副标题 |
|
|
|
<span class="ml10 color-orange mr20">*</span> |
|
|
|
</span> |
|
|
|
</label> |
|
|
|
<div class="mt-10"> |
|
|
|
<%= p.text_field :sub_subject, class: "form-control input-lg", placeholder: "请输入系统通知副标题" %> |
|
|
|
<%= p.text_field :sub_subject, class: "form-control input-lg", placeholder: "请输入系统公告副标题" %> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="form-group"> |
|
|
|
<label> |
|
|
|
<span class="color-grey-6 pt10"> |
|
|
|
系统通知正文 |
|
|
|
系统公告正文 |
|
|
|
<span class="ml10 color-orange mr20">*</span> |
|
|
|
</span> |
|
|
|
</label> |
|
|
|
<div class="pl-0 my-3 setting-item-body" id="system-notification-content-editor"> |
|
|
|
<%= p.text_area :content, class:"form-control", style: 'display: none;', rows: "10", cols: "20", placeholer: "请输入系统通知正文" %> |
|
|
|
<%= p.text_area :content, class:"form-control", style: 'display: none;', rows: "10", cols: "20", placeholer: "请输入系统公告正文" %> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|