mailr/app/views/shared/_folders.html.erb

13 lines
417 B
Plaintext
Raw Normal View History

<div id="folders">
<h4><%=t :folders %><br/><%= link_to t(:add_edit_folder), folders_path %></h4>
<hr/>
2009-02-07 23:14:00 +01:00
<ul>
<% @folders.each do |folder| -%>
2011-06-24 23:48:08 +02:00
<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>