active_scaffold-sequel 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +0,0 @@
1
- <%options = {:checked => mark_all,
2
- :include_mark_all => true}%>
3
- ActiveScaffold.mark_records('<%=active_scaffold_tbody_id%>',<%=options.to_json.html_safe%>);
4
- <%if active_scaffold_config.model.marked.length>0 then %>
5
- <%if active_scaffold_config.model.marked.length < @page.pager.count then%>
6
- 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%>');
7
- <%else%>
8
- ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','<%="All #{@page.pager.count} records marked".html_safe%>');
9
- <%end%>
10
- <%else%>
11
- ActiveScaffold.replace_html('<%=active_scaffold_messages_id%>','');
12
- <%end%>