blob: 5da502648d581a7a789bf07f35802dbdd7f3358a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<div class="columns">
<div class="column">
%= include 'displayheaders/_pagination1'
</div>
<div class="column">
% if (grep {$_ ne $folder} @$mail_folders) {
%= form_for move => (id => 'move-mail') => begin
<div class="field is-horizontal">
<div class=field-label>
%= label_for 'select-folder' => l('move to') => (class => 'label')
</div>
<div class=field-body>
<div class="field is-grouped">
<div class=control>
<div class='select'>
%= select_field folder => [map { $_ ? $_ : l 'Home' } grep {$_ ne $folder} @$mail_folders]
</div>
</div>
%= csrf_field
<div class=control>
%= submit_button l('move') => (class => 'button')
</div>
</div>
</div>
</div>
% end
% }
</div>
<div class=column>
%= form_for 'remove/'.$folder => (id => 'remove-mail') => (method => 'POST') => begin
%= csrf_field
<div class=control>
%= submit_button l('remove') => (class => 'button')
</div>
% end
</div>
<div class="column has-text-right">
<label for=allbox><%= l 'check all' %></label>
<input name=allbox type=checkbox id=check-all>
</div>
</div>
|