<%= title "Listing Messages for #{@mailing.subject}" %> <%= content_for :subnav do %> <% end %> <%= will_paginate @messages %> <%= form_tag mail_manager.mailing_messages_path(@mailing), :id => 'search_form', :method => 'GET' do %> <%= label_tag :message_status, "Status:" %><%= select_tag "message[status]", options_for_select(@valid_statuses,params[:message][:status]), :onChange => "$('#search_form').submit()" %> <% end %> <% if @messages.length == 0 %>

No messages found for your query.

<% else %> <% @messages.each do |message| %> <% end %>
Contact Result
<%=h message.full_name %> <%=h message.email_address %> <%=h message.result %>
<% end %>