<% content_for :head do -%>
<%= javascript_include_tag 'mephisto/dialog' %>
<% end -%>

<% content_for :action_nav do -%>
  <div id="page-nav">
    <ul id="act-nav" class="clear">
      <li><%= link_to "Import new theme", :controller => 'themes', :action => 'import' %></li>
    </ul>
  </div>
<% end -%>

<div id="themes">
  <ul id="themelist">
<%= render :partial => "theme", :collection => site.themes %>
  </ul>
</div>
<% content_for :head do -%>
<%= javascript_include_tag 'mephisto/dialog' %>
<% end -%>

<% content_for :action_nav do -%>
  <div id="page-nav">
    <ul id="act-nav" class="clear">
      <li><%= link_to "Import new theme", {:controller => 'themes', :action => 'import'}, :method => :post  %></li>
    </ul>
  </div>
<% end -%>

<div id="themes">
  <ul id="themelist">
<%= render :partial => "theme", :collection => site.themes %>
  </ul>
</div>

Fix link for importing themes so that it can be reached (instead of triggering security protection)
Fix link for importing themes so that it can be reached (instead of triggering security protection)
