<div class='rgalbum'>
	<a title='<%= album.name %>' href='<%= panel_gallery_front_end_album_path(album) %>'>
	 <% if album.cover == "default" %>
	     <%= image_tag "gallery/default.jpg" %>
	  <% else %>
	     <img src="<%= album.cover_path %>">
    <% end %>
	</a>
	<span class='albumname'>
		<a title='<%= album.description %>' href='<%= panel_gallery_front_end_album_path(album) %>'><%= album.name %></a>
	</span>
	<span class='categoryname'><i class='icon-folder-close'></i><%=  Category.find(album.category_id).title %></span>
	<span class='tagnames'></span>
</div>