diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/referential_companies/index.html.slim | 5 | ||||
| -rw-r--r-- | app/views/referential_networks/index.html.slim | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/app/views/referential_companies/index.html.slim b/app/views/referential_companies/index.html.slim index 8cc74c605..6f41f206d 100644 --- a/app/views/referential_companies/index.html.slim +++ b/app/views/referential_companies/index.html.slim @@ -25,9 +25,8 @@ .row.mt-sm .col-lg-12 = table_builder @companies, - { 'Oid' => Proc.new { |n| n.try(:objectid).try(:local_id) }, @companies.human_attribute_name(:name) => 'name', @companies.human_attribute_name(:code) => 'code', - @companies.human_attribute_name(:fax) => 'fax', - @companies.human_attribute_name(:email) => 'email' }, + { 'Oid' => Proc.new { |n| n.try(:objectid).try(:local_id) }, @companies.human_attribute_name(:code) => 'code', + @companies.human_attribute_name(:name) => 'name', @companies.human_attribute_name(:short_name) => 'short_name', @companies.human_attribute_name(:registration_number) => 'registration_number' }, [:show, :edit, :delete], [], 'table' diff --git a/app/views/referential_networks/index.html.slim b/app/views/referential_networks/index.html.slim index 2575b4296..90e4258a4 100644 --- a/app/views/referential_networks/index.html.slim +++ b/app/views/referential_networks/index.html.slim @@ -25,7 +25,7 @@ .row.mt-sm .col-lg-12 = table_builder @networks, - { 'Oid' => Proc.new { |n| n.try(:objectid).try(:local_id) }, @networks.human_attribute_name(:name) => 'name', @networks.human_attribute_name(:description) => 'description', @networks.human_attribute_name(:comment) => 'comment' }, + { 'Oid' => Proc.new { |n| n.try(:objectid).try(:local_id) }, @networks.human_attribute_name(:name) => 'name', @networks.human_attribute_name(:description) => 'description', @networks.human_attribute_name(:registration_number) => 'registration_number' }, [:show, :edit, :delete], [], 'table' |
