Sha256: 71c41405e8b54f28438a63ed0d8b55cc7fe9c236b19a2bec472010905263ae73
Contents?: true
Size: 1.4 KB
Versions: 9
Compression:
Stored size: 1.4 KB
Contents
<h3>微信关键字列表</h3> <a href="/eric_weixin/cms/weixin/reply_message_rules/new" class="tiny button">新建</a> <%= will_paginate @collection, renderer: FoundationPagination::Rails %> <table role="gridcell"> <thead> <tr> <th width="50">微信公众号</th></th><th>关键字</th><th>回复</th><th width="50">类型</th><th width="90">处理方式</th><th width="50">权重</th><th width="50">删除</th><th width="50">修改</th> </tr> </thead> <tbody> <% @reply_message_rules.each do |rule|%> <tr data-id="<%=rule.id%>"> <td> <%= rule.weixin_public_account_name %> </td> <td style="WORD-BREAK: break-all; WORD-WRAP: break-word"> <%= rule.key_word %> </td> <td style="WORD-BREAK: break-all; WORD-WRAP: break-word"> <%= rule.reply_message %> </td> <td> <%= ::EricWeixin::ReplyMessageRule::KEY_WORD_TYPE_LABEL[rule.key_word_type] %> </td> <td> <%= ::EricWeixin::ReplyMessageRule::REPLY_TYPE_LABEL[rule.reply_type] %> </td> <td><%=rule.order %></td> <td><%=link_to"删除", "/eric_weixin/cms/weixin/reply_message_rules/#{rule.id}", :remote =>true, method: :delete, data: {confirm: "你确定要删除吗?"}%></td> <td><%= link_to "修改", "/eric_weixin/cms/weixin/reply_message_rules/#{rule.id}/edit" %></td> </tr> <% end %> </tbody> </table> <%= will_paginate @collection, renderer: FoundationPagination::Rails %>
Version data entries
9 entries across 9 versions & 1 rubygems