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

13 lines
415 B
Plaintext
Raw Permalink 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| -%>
<li><%= 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>