<%%= stylesheet_link_tag "application" %> <%%= javascript_include_tag "application" %> <%%= csrf_meta_tags %> <%%= yield(:head) %>
BrandName <%% if !user_signed_in? %> <%%= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => "pull-right"}) do |f| %> <%%= f.email_field :email, :class=>"input-small", :placeholder=>"Email" %> <%%= f.password_field :password, :class=>"input-small", :placeholder=>"Password" %> <%%= f.submit "Sign In", :class=>"primary btn" %> <%% end %> <%% else %>
<%%= current_user.username %> | <%%= link_to "Sign out", destroy_user_session_path, :method => :delete, :style=>"color:white;" %>
<%% end %>

<%%= yield(:page_header) %>

<%%= js extend_gritter :position => :bottom_right %> <%%= js add_gritter(flash[:notice], :image => :success, :title => "Notice", :sticky => false, :time => 2000) %> <%%= js add_gritter(flash[:alert], :image => :warning, :title => "Alert!", :sticky => false, :time => 2000) %> <%%= yield %>
<%% if request.fullpath=="/" %> <%% end %>
<%%= javascript_include_tag "/assets/exclusions/jquery.pageslide" %>