Sha256: 3742e6351e0084e9af82275ad05a8283f90c9f72b3f0c4cd0af6ada4d94013ae
Contents?: true
Size: 1.09 KB
Versions: 6
Compression:
Stored size: 1.09 KB
Contents
<%% for scaffold_column in scaffold_columns %> <%% column_sort_direction = column_sort_direction(scaffold_column.name, params) %> <%% sort_params = params.merge(:controller => '<%= controller_file_path %>', :action => 'component_update', :sort => scaffold_column.name, :sort_direction => column_sort_direction, :page => 1) %> <%% column_header_id = scaffold_column_header_id(sort_params.merge(:column_name => scaffold_column.name)) %> <th id="<%%= column_header_id %>" <%%= "class=\"sorted #{current_sort_direction(params)}\"" if scaffold_column.name == current_sort(params) %>> <%% if scaffold_column.sortable? %> <%%= link_to_remote scaffold_column.label, { :url => sort_params, :loading => "Element.addClassName('#{column_header_id}','loading');", :update => scaffold_content_id(sort_params) }, { :href => url_for(sort_params) } %> <%% else %> <p><%%= scaffold_column.label %></p> <%% end %> </th> <%% end %> <th></th>
Version data entries
6 entries across 6 versions & 1 rubygems