Sha256: 0037942379f28d699253cbd417e75e25eb8e16c6eba5dfa985616ce9082105b6

Contents?: true

Size: 810 Bytes

Versions: 16

Compression:

Stored size: 810 Bytes

Contents

<%options = {:checked => mark_all,
           :include_mark_all => true}%>
ActiveScaffold.mark_records('<%=active_scaffold_tbody_id%>',<%=options.to_json.html_safe%>);
<%if active_scaffold_config.model.marked.length>0 then %>
  <%if active_scaffold_config.model.marked.length < @records.count then%>
    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 #{@records.count} records.".html_safe%>');
  <%else%>
    ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','<%="All #{@records.count} records marked".html_safe%>');
  <%end%>
<%else%>
  ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','');
<%end%>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
active_scaffold_vho-4.0.0 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.14 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.13 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.12 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.11 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.10 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.9 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.8 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.7 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.6 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.5 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.4 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.3 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.2 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.1 frontends/default/views/on_mark_all.js.erb
active_scaffold_vho-3.2.0 frontends/default/views/on_mark_all.js.erb