Created
July 24, 2012 08:51
-
-
Save kalabiyau/3168920 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-content_for :body do | |
%table#front_folders | |
[email protected]_groups_of(5, false).each do |group| | |
%tr | |
-group.each do |f| | |
%td | |
=link_to "", :remote => true, :fhref=>"#{refinery.documents_folder_path(f)}" do | |
.folder{:style=>get_random_grid} | |
%p=f.name | |
= render '/refinery/content_page' | |
-content_for :javascripts do | |
:coffeescript | |
$(document).ready -> | |
$('table#folders a').click () -> | |
console.log $(this) | |
false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment