Sha256: a099729d7aa59c04cdd9ac87a05a5c6ec58a47d562f827073db994a1c4987a68

Contents?: true

Size: 880 Bytes

Versions: 1

Compression:

Stored size: 880 Bytes

Contents

<% content_for :title do %>
  <%= current_subject.name %> 
<% end %>

<% content_for :sidebar do %>
  <%= render :partial => 'home/sidebar' %>
<% end %>

<% content_for :headers do %>
	<%= stylesheet_link_tag "documents" %>
	<%= javascript_include_tag 'documents' %>  
<% end %>

<%if @subject%>
<%= location(
  link_to(image_tag("btn/btn_profile.png", :class => "menu_icon")+ @subject.name, polymorphic_path(@subject),:remote => true),
  link_to(image_tag("btn/btn_resource.png", :class => "menu_icon")+t('resource.title'), polymorphic_path([@subject, Document.new]),:remote => true)
    ) %>
  <% toolbar :profile => @subject %>
<%else%>
<%= location(
  link_to(image_tag("btn/btn_resource.png", :class => "menu_icon")+t('resource.title'), @user ?  user_documents_path(@user) : documents_path,:remote => true)
    ) %>
  <% toolbar %>
<%end%>


<%= render :partial => 'index' %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social_stream-documents-0.1.6 app/views/documents/index.html.erb