% layout 'default', title => "Sme server 2 - qmailanalog";
% content_for 'module' => begin
%= javascript '/js/qmailanalog.js'
%if (config->{debug} == 1) {
(DBG)route: <%= $c->current_route %>
%}
<%= $title %>
<%= $modul %>
<% my $btn = l('qma_GENERATE_REPORT'); %>
%= form_for 'qmailanalog' => (method => 'POST') => begin
%=l 'qma_REPORT_TYPE'
%= select_field 'report_type' => $c->reportType_list(), id => 'analysis_type'
%= label_for message_id => 'Message ID:'
%= text_field 'message_id', placeholder => 'Enter Postfix Message ID', id => 'message_id_group'
%= label_for email_address => 'Email Address:'
%= email_field 'email_address', placeholder => 'Enter email address', id => 'email_address_group'
%= submit_button "$btn", class => 'action'
% end
%end