diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/assets/stylesheets/components/_forms.sass | 6 | ||||
| -rw-r--r-- | app/views/companies/index.html.slim | 2 | ||||
| -rw-r--r-- | app/views/networks/index.html.slim | 2 | ||||
| -rw-r--r-- | app/views/referential_companies/index.html.slim | 2 | ||||
| -rw-r--r-- | app/views/referential_lines/show.html.slim | 2 | ||||
| -rw-r--r-- | app/views/referential_networks/index.html.slim | 2 |
6 files changed, 11 insertions, 5 deletions
diff --git a/app/assets/stylesheets/components/_forms.sass b/app/assets/stylesheets/components/_forms.sass index 7c2638e79..9ee7e85ce 100644 --- a/app/assets/stylesheets/components/_forms.sass +++ b/app/assets/stylesheets/components/_forms.sass @@ -362,6 +362,12 @@ table, .table vertical-align: top padding: 7px 15px + > .search_bar + padding-right: 50% + + .input-group-btn + right: 50% + > .form-group, > div > .form-group display: inline-block vertical-align: top diff --git a/app/views/companies/index.html.slim b/app/views/companies/index.html.slim index e3a2ce6c5..95597903b 100644 --- a/app/views/companies/index.html.slim +++ b/app/views/companies/index.html.slim @@ -15,7 +15,7 @@ .row .col-lg-12 - = search_form_for @q, url: line_referential_companies_path(@line_referential), html: {method: :get} do |f| + = search_form_for @q, url: line_referential_companies_path(@line_referential), html: {method: :get}, class: 'form form-filter' do |f| .input-group.search_bar = f.search_field :name_or_objectid_cont, placeholder: t('.name_or_objectid'), class: 'form-control' diff --git a/app/views/networks/index.html.slim b/app/views/networks/index.html.slim index a10eea707..2aa636ded 100644 --- a/app/views/networks/index.html.slim +++ b/app/views/networks/index.html.slim @@ -15,7 +15,7 @@ .row .col-lg-12 - = search_form_for @q, url: line_referential_networks_path(@line_referential), html: {method: :get} do |f| + = search_form_for @q, url: line_referential_networks_path(@line_referential), html: {method: :get}, class: 'form form-filter' do |f| .input-group.search_bar = f.search_field :name_or_objectid_cont, placeholder: t('.name_or_objectid'), class: 'form-control' diff --git a/app/views/referential_companies/index.html.slim b/app/views/referential_companies/index.html.slim index 8fe8f9415..9375c6492 100644 --- a/app/views/referential_companies/index.html.slim +++ b/app/views/referential_companies/index.html.slim @@ -15,7 +15,7 @@ .row .col-lg-12 - = search_form_for @q, url: referential_companies_path(@referential), html: {method: :get} do |f| + = search_form_for @q, url: referential_companies_path(@referential), html: {method: :get}, class: 'form form-filter' do |f| .input-group.search_bar = f.text_field :name_or_objectid_cont, placeholder: t('.name_or_objectid'), class: 'form-control' diff --git a/app/views/referential_lines/show.html.slim b/app/views/referential_lines/show.html.slim index d5c11d456..2566550ba 100644 --- a/app/views/referential_lines/show.html.slim +++ b/app/views/referential_lines/show.html.slim @@ -52,7 +52,7 @@ .row .col-lg-12 - = search_form_for @q, url: referential_line_path(@referential, @line) do |f| + = search_form_for @q, url: referential_line_path(@referential, @line), class: 'form form-filter' do |f| .input-group.search_bar = f.search_field :name_cont, class: 'form-control', placeholder: "Indiquez un nom d'itinéraire..." diff --git a/app/views/referential_networks/index.html.slim b/app/views/referential_networks/index.html.slim index c0a4c526c..30a86d9b2 100644 --- a/app/views/referential_networks/index.html.slim +++ b/app/views/referential_networks/index.html.slim @@ -15,7 +15,7 @@ .row .col-lg-12 - = search_form_for @q, url: referential_networks_path(@referential), html: {method: :get} do |f| + = search_form_for @q, url: referential_networks_path(@referential), html: {method: :get}, class: 'form form-filter' do |f| .input-group.search_bar = f.text_field :name_or_objectid_cont, placeholder: t('.name_or_objectid'), class: 'form-control' |
