diff --git a/app/views/groups/index.html.haml b/app/views/groups/index.html.haml index a50a1e2..fbb7511 100644 --- a/app/views/groups/index.html.haml +++ b/app/views/groups/index.html.haml @@ -17,8 +17,7 @@ %tbody#groups = render @groups -- if params[:per_page] - = will_paginate @groups += will_paginate @groups %br = link_to 'New Group', new_group_path diff --git a/app/views/zones/all_records.html.haml b/app/views/zones/all_records.html.haml index d7c25b8..976d588 100644 --- a/app/views/zones/all_records.html.haml +++ b/app/views/zones/all_records.html.haml @@ -31,8 +31,7 @@ %tbody#records -@records.each do |record| = render(:partial => 'records/record', :locals => {:record => record}) - - if params[:per_page] - = will_paginate @records + = will_paginate @records = submit_tag "Bulk delete", :confirm => 'Are you sure?', :disable_with => 'Processing...' %br/ #new_records diff --git a/app/views/zones/index.html.haml b/app/views/zones/index.html.haml index 429a05e..8c6ad46 100644 --- a/app/views/zones/index.html.haml +++ b/app/views/zones/index.html.haml @@ -18,8 +18,7 @@ %tbody#zones = render @zones - - if params[:per_page] - = will_paginate @zones + = will_paginate @zones = submit_tag "Bulk destroy", :confirm => 'Are you sure?', :disable_with => 'Processing...' %br/ #new_zones