aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdouard Maffert2016-09-16 14:14:23 +0200
committerEdouard Maffert2016-09-16 14:14:23 +0200
commit9e3ee24836ebe761ecfd28d0f9a6bccc4426f328 (patch)
tree2df5b9afcd735f7827bb1a72cf073fc1f103cc7b
parenta57c971b30f9f086860b739f707f4719e1e04161 (diff)
downloadchouette-core-9e3ee24836ebe761ecfd28d0f9a6bccc4426f328.tar.bz2
Enable advanced research for lines. Refs #1626
-rw-r--r--app/views/lines/index.html.slim7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/lines/index.html.slim b/app/views/lines/index.html.slim
index 5892dba36..a28d3d765 100644
--- a/app/views/lines/index.html.slim
+++ b/app/views/lines/index.html.slim
@@ -15,10 +15,9 @@
#advanced_search.panel-collapse.collapse
.panel-body
- / FIXME #825
- / = f.select(:network_id_eq, @line_referential.networks.collect {|n| [ n.name, n.id ] }.unshift([t('.no_networks'), -1]), {include_blank: t('.all_networks')}, { :class => 'form-control' })
- / = f.select(:company_id_eq, @line_referential.companies.collect {|c| [ c.name, c.id ] }.unshift([t('.no_companies'), -1]), { include_blank: t('.all_companies')}, { :class => 'form-control' })
- / = f.select(:group_of_lines_id_eq, @line_referential.group_of_lines.collect {|c| [ c.name, c.id ] }.unshift([t('.no_group_of_lines'), -1]), {include_blank: t('.all_group_of_lines')}, { :class => 'form-control' })
+ = f.select(:network_id_eq, @line_referential.networks.collect {|n| [ n.name, n.id ] }.unshift([t('.no_networks'), -1]), {include_blank: t('.all_networks')}, { :class => 'form-control' })
+ = f.select(:company_id_eq, @line_referential.companies.collect {|c| [ c.name, c.id ] }.unshift([t('.no_companies'), -1]), { include_blank: t('.all_companies')}, { :class => 'form-control' })
+ = f.select(:group_of_lines_id_eq, @line_referential.group_of_lines.collect {|c| [ c.name, c.id ] }.unshift([t('.no_group_of_lines'), -1]), {include_blank: t('.all_group_of_lines')}, { :class => 'form-control' })
#lines
= render 'lines'