summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-04-30 11:58:48 +0200
committerPeter Kozak <spag@golwen.net>2013-04-30 11:58:48 +0200
commit4b904201187892676a0fd12e518513334924c534 (patch)
tree25f50093901681b9084555783942c09de354ee1f
parent466c90b7c7e04901142ca40b0220293de36af0c2 (diff)
table footer added
-rw-r--r--app/views/call_histories/_index_core.html.haml8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/call_histories/_index_core.html.haml b/app/views/call_histories/_index_core.html.haml
index 8c40890..f5e73ca 100644
--- a/app/views/call_histories/_index_core.html.haml
+++ b/app/views/call_histories/_index_core.html.haml
@@ -18,7 +18,13 @@
%th
=sortable :result, t("call_histories.index.status")
%th
-
+ %tfoot
+ %tr
+ %td{:colspan => 2}
+ = button_tag(:type => 'submit', :class => 'btn btn-mini btn-danger', :confirm => t("call_histories.index.actions.confirm_selected")) do
+ %i{:class => 'icon-trash icon-white'}
+ = t("call_histories.index.actions.destroy_multiple")
+ %td{:colspan => 5}
%tbody
- for call_history in call_histories
- if !call_history.display_number.blank?