Sha256: 9f43119aa4851b54222a49e4251091684e90e21966f4980b7d5599b43485e8cf
Contents?: true
Size: 779 Bytes
Versions: 19
Compression:
Stored size: 779 Bytes
Contents
options = {:checked => mark_all, :include_mark_all => true} page << "ActiveScaffold.mark_records('#{active_scaffold_tbody_id}', #{options.to_json});" if active_scaffold_config.model.marked.length>0 then if active_scaffold_config.model.marked.length < @page.pager.count then page.call 'ActiveScaffold.replace_html', active_scaffold_messages_id, active_scaffold_config.model.marked.length.to_s + " records marked. Press <a href=\""+url_for(:action=>"mark_all",:mark_target=>"scope")+"\">here</a> to select all #{@page.pager.count} records.".html_safe else page.call 'ActiveScaffold.replace_html', active_scaffold_messages_id, "All #{@page.pager.count} records marked" end else page.call 'ActiveScaffold.replace_html', active_scaffold_messages_id, "" end
Version data entries
19 entries across 19 versions & 3 rubygems