% layout "default", title => "Sme server 2 - backup - verify";
% content_for "module" => begin
% if (config->{debug} == 1) {
%= dumper $c->current_route
%= dumper $bac_datas
% }
% if ( stash "error" ) {
%= $c->render_to_string(inline => stash "error")
%}
<%= $title%>
%=l "Verify_WORKSTN_BACKUP_FILE"
%= form_for "/backup" => (method => "POST") => begin
% if ($bac_datas->{status} ne "enabled") {
%= $c->render_to_string(inline => (l "bac_CONFIGURATION_TO_BE_DONE"))
% } else {
%= $c->render_to_string(inline => (l "Verify_WORKSTN_BACKUP_DESC") . " " . $c->get_shared_folder_to_verify())
%}
%=l "bac_SELECT_BACKUP_FILE"
%= select_field "Backupset" => $c->get_Backupset_options(), class => "input"
%=l "bac_CHECK_TO_VERIFY_FULL_RESTORE"
%= check_box "Verifyall"
%=l "bac_CHECK_INTEGRITY_WARNING"
%= hidden_field "Function" => $bac_datas->{"function"} . "1"
%= submit_button $c->l("Verify"), class => "action"
% end
% end