Sha256: 54e77526018a81aaaa668b04cd05f85ae14fdde3f1eb01ace12fec92abe3692b

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 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>
      <%= rule.key_word %>
    </td>
    <td>
      <%= 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

3 entries across 3 versions & 1 rubygems

Version Path
eric_weixin-0.2.0 app/views/eric_weixin/cms/weixin/reply_message_rules/index.html.erb
eric_weixin-0.1.1 app/views/eric_weixin/cms/weixin/reply_message_rules/index.html.erb
eric_weixin-0.1.0 app/views/eric_weixin/cms/weixin/reply_message_rules/index.html.erb