修改微信消息匹配规则

<%= form_tag("/eric_weixin/cms/weixin/reply_message_rules/#{params[:id]}", method: :patch ) do%>
<%= select_tag "weixin_public_account_id", options_from_collection_for_select(@public_accounts, "id", "name", params[:weixin_public_account_id]||@rule.weixin_public_account_id) %>
<%= select_tag "key_word_type", options_from_collection_for_select(EricWeixin::ReplyMessageRule::KEY_WORD_TYPE_LABEL, "first", "second", params[:key_word_type]||@rule.key_word_type), include_blank: "请选择" %>
<%= text_area_tag "reply_message", params[:reply_message]||@rule.reply_message %>
<%= select_tag "reply_type", options_from_collection_for_select(EricWeixin::ReplyMessageRule::REPLY_TYPE_LABEL, "first", "second", params[:reply_type]||@rule.reply_type), include_blank: "请选择" %>
<% end %>