<%= type == "create" ? "新建" : "编辑" %>系统通知
<%= link_to "返回", admins_system_notifications_path, class: "btn btn-default pull-right" %>
<%= form_for @notification, url: {controller: "system_notifications", action: "#{type}"} do |p| %>
<%= p.text_field :subject, class: "form-control input-lg", placeholder: "请输入系统通知标题" %>
<%= p.text_field :sub_subject, class: "form-control input-lg", placeholder: "请输入系统通知副标题" %>
<%= p.text_area :content, class:"form-control", style: 'display: none;', rows: "10", cols: "20", placeholer: "请输入系统通知正文" %>
<%= p.check_box :is_top, class: "form-check-input", value:"true"%>
<%= p.submit "确认", class: "btn btn-primary submit-btn" %>
<% end %>