diff options
Diffstat (limited to 'templates/displayheaders/_bot_nav.html.ep')
-rw-r--r-- | templates/displayheaders/_bot_nav.html.ep | 55 |
1 files changed, 32 insertions, 23 deletions
diff --git a/templates/displayheaders/_bot_nav.html.ep b/templates/displayheaders/_bot_nav.html.ep index a6d089c..5da5026 100644 --- a/templates/displayheaders/_bot_nav.html.ep +++ b/templates/displayheaders/_bot_nav.html.ep @@ -1,35 +1,44 @@ <div class="columns"> - <div class="column"> - %= include 'displayheaders/_pagination1' - </div> + <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="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 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> - % 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> |