
.page-header
  %h2
    .icon-backward
    =t('Restore sytem configuration')

%form{:method => "POST"}
  %table
    %tr
      %td
        =t('Configuration').':'
      %td
        !=CHtml::dropDownList('backup', null, $backups, array('class'=>'span5'))
    %tr
      %td
        =t('Action').': '
      %td
        %input(value="restore" type="radio" name="action" checked="checked")
        =t('Restore')
        %input(value="delete" type="radio" name="action")
        =t('Delete')
    -if(!DebugController::isInDebugMode())
      %tr
        %td
          =t('Password').':'
        %td
          %input{:name => "authorization", :type => "password"}
    %tr
      %td
        %input(type="submit" value="#{t('Action')}")
