-$checkedShell   = $shell   ? array('checked'=>'checked') : array()
-$checkedErr2Out = $err2out ? array('checked'=>'checked') : array()

.page-header
  %h2
    %li.icon-bolt
    = Yii::t("app", "Console")

%h4=t('Last command')
%pre!=$output
!=HtmlHelper::createForm(array(array('name'=>'command','options'=>array('id'=>'promptCommand','style'=>"width: 100%; font-family: monospace;")),array('name'=>'shell','type'=>'checkbox','value'=>'1','options'=>$checkedShell),array('name'=>'err2out','type'=>'checkbox','value'=>'1','options'=>$checkedErr2Out)),null,'post')

%ul
  %li
    %a(href="#{url('debug/console',array('command'=>'tasklist'))}")
      ='task list'
  %li
    %a(href="#{url('debug/console',array('command'=>'whoami'))}")
      ='who am i'
  %li
    %a(href="#{url('debug/console',array('command'=>'wmic logicaldisk get name'))}")
      ='list disks'
        

%script
  !="$('#promptCommand').focus()"