diff options
| author | Thomas Haddad | 2016-11-17 11:06:08 +0100 | 
|---|---|---|
| committer | Thomas Haddad | 2016-11-17 11:06:08 +0100 | 
| commit | 5d76918fbac09f4b681ab0ba10e39d1864ad054c (patch) | |
| tree | 34c5b440b48ff1b116346e07d3caec5ab08375db | |
| parent | 07abd404cf06481fdb62e9586e9f77e7818eaa07 (diff) | |
| download | chouette-core-5d76918fbac09f4b681ab0ba10e39d1864ad054c.tar.bz2 | |
Fix template typo
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
| -rw-r--r-- | app/views/shared/_lines_search_form.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/shared/_lines_search_form.html.slim b/app/views/shared/_lines_search_form.html.slim index 685325bdc..ba25370a8 100644 --- a/app/views/shared/_lines_search_form.html.slim +++ b/app/views/shared/_lines_search_form.html.slim @@ -16,6 +16,6 @@        .panel-body          .row            - %w(networks companies group_of_lines).each do |filter| -            - if referential&.send(filter).any? +            - if referential.send(filter).any?                .col-lg-4.col-md-4.col-sm-4.col-xs-4                  = f.select(:"#{filter.singularize unless filter == 'group_of_lines'}_id_eq", referential.send(filter).collect { |f| [f.name, f.id] }.unshift([t("lines.index.no_#{filter}"), -1]), { include_blank: '' }, { class: 'form-control', style: 'width: 100%', 'data-select2ed': 'true', 'data-select2ed-placeholder': t("lines.index.all_#{filter}") }) | 
