Is there a way to display primary tabs vertical in separate block? In Drupal 7 I want to rearrange standart drupal tabs (eg. 'View' and 'Edit') as vertical and move it to sidebar. Is there a way to do this?
The Tabs rendered in page.tpl.php like this:

&lt;?php if ($tabs): ?&gt;
        &lt;div class="tabs"&gt;
          &lt;?php print render($tabs); ?&gt;
        &lt;/div&gt;
&lt;?php endif; ?&gt; 


in the main content div:
You can override the page.tpl.php in your custom theme and move this part of code to sidebar:

something like :

&lt;div class="sidebar"&gt;
&lt;?php if ($tabs): ?&gt;
            &lt;div class="tabs"&gt;
              &lt;?php print render($tabs); ?&gt;
            &lt;/div&gt;
    &lt;?php endif; ?&gt; 
&lt;/div&gt;