%= favicon_link_tag %>
<%= stylesheet_link_tag "simple_forum/application" %>
<%= yield :stylesheets %>
<%= csrf_meta_tag %>
<%= javascript_include_tag "simple_forum/application" %>
<%= yield :javascripts %>
<%= yield :head %>
<%= link_to image_tag('simple_forum/galdomedia-logo.png', :alt => 'GaldoMedia'), "http://galdomedia.pl", :title => "GaldoMedia" %>
<% if user_authenticated? %>
-
<%= link_to t('simple_forum.sign_out'), main_app.send(:"#{SimpleForum.sign_out_path}_path"), :method => main_app.routes.routes.named_routes["#{SimpleForum.sign_out_path}"].verb === "DELETE" ? :delete : :get %>
<% if forum_admin? %>
-
<%= link_to t('simple_forum.forum_administration'), simple_forum.admin_forums_path %>
<% end %>
<% else %>
-
<%= link_to t('simple_forum.sign_in'), main_app.send(:"#{SimpleForum.sign_in_path}_path") %>
<% end %>
<% if flash.present? %>
<% flash.each do |key, val| %>
<%= content_tag :div, val, :class => key %>
<% end %>
<% end %>
Simple Forum
<%= yield(:left_sidebar) %>
<%= yield %>