blob: a9f0f4a14502354893becd3f32f5d0f1d65407bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
- if @lines.any?
= table_builder @lines,
{ 'Oid' => Proc.new { |n| n.objectid.local_id }, @lines.human_attribute_name(:id) => 'id',
@lines.human_attribute_name(:number) => 'number', @lines.human_attribute_name(:name) => 'name', @lines.human_attribute_name(:network) => Proc.new { |n| n.try(:network).try(:name) }, @lines.human_attribute_name(:company) => Proc.new { |n| n.try(:company).try(:name) } },
[:show],
'table table-bordered'
.text-center
= will_paginate @lines, container: false, renderer: RemoteBootstrapPaginationLinkRenderer
- else
= replacement_msg t('referential_lines.search_no_results')
|