blob: aa0c437d5d9a4d777187a95175eceb83d639eac9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
%form#alerts{:method => :post, :action => '/alerts/acknowledge'}
%table
%tr
%th#selector
%input#toggle_all{ :type => "checkbox" }
:javascript
// This just toggles all the checkboxes.
$('#toggle_all').change( function() {
$('input.alert').each( function(index) {
this.checked = !this.checked;
});
});
%th#time At
%th#summary Summary
= partial("alerts_table_group", :collection => @grouped_alerts)
%tr
%td
%td{:colspan => 2}
= partial("acknowledge_input")
|