mailr/app/views/shared/_folders.html.erb
2011-06-24 23:48:08 +02:00

13 lines
417 B
Plaintext
Executable file

<div id="folders">
<h4><%=t :folders %><br/><%= link_to t(:add_edit_folder), folders_path %></h4>
<hr/>
<ul>
<% @folders.each do |folder| -%>
<li><%= raw folder_link(folder) %></li>
<% end -%>
</ul>
</div>
<div style="text-align: center; padding: 10px;">
<input type="button" value="<%= t :logout %>" onclick="window.location='<%= url_for(:controller => :login, :action => :logout) %>'">
</div>