%p#notice = notice %fieldset.info %legend Message Header Information %p %b Message Time = @message.created_at %p %b Application = link_to(@message.message_type.application.name, @message.message_type.application) unless @message.message_type.nil? %p %b Application Key = @message.application_key %p %b Message Type = @message.message_type.nil? ? @message.message_type_name : link_to(@message.message_type_name, @message.message_type) %p %b Incoming Status = @message.status %p %b Error? = @message.is_error? %fieldset.resubmission %legend Message Resubmission = form_for(@message, {:url => { :action => 'resubmit_event'}}) do |f| = f.label :status, "Resubmit for Dispatching" = f.collection_select :status, MessageRoute.find_all_by_message_type_id(@message.message_type_id), :incoming_status, :incoming_status, :include_blank => "Resbumit as status" = f.submit "Re-Dispatch" %br = form_for(@message, {:url => { :action => 'send_queue' }}) do |f| = f.label :dispatch_to, "Send to a specific queue" = f.collection_select :dispatch_to, MessageRoute.find_all_by_message_type_id(@message.message_type_id), :dispatch_to, :dispatch_to, :include_blank => "Send to Queue" = f.submit "Send" #message_content %h3 Content: %pre= @message.content