blob: a6d089ca0a1307690550b9e7e5cce271f1d48018 (
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
|
<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 has-text-right">
<label for=allbox><%= l 'check all' %></label>
<input name=allbox type=checkbox id=check-all>
</div>
</div>
|