From 5f0dbd2ff0a0699843c66f06ac0ffc6edb52c1bb Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Fri, 26 Jun 2020 16:35:01 +0200 Subject: [PATCH] suite --- app/views/admin/m_odr_files/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/m_odr_files/_form.html.haml b/app/views/admin/m_odr_files/_form.html.haml index 5773f28..5952852 100644 --- a/app/views/admin/m_odr_files/_form.html.haml +++ b/app/views/admin/m_odr_files/_form.html.haml @@ -20,7 +20,7 @@ -if f.object.m_odr_file_type_id == 2 %table.m_odr_file_products_form.form-table = f.input :buy_at, :label => "Date de l'achat", :as => :date - = f.input :m_odr_place, :label => "Revendeur :", :as => :date, :collection => MOdrPlace.order("name ASC").all, :member_label => :member_label, :as => :select + = f.input :m_odr_place, :label => "Revendeur :", :as => :date, :collection => MOdrPlace.order("name ASC, city ASC").all, :member_label => :member_label, :as => :select =f.semantic_fields_for :m_odr_file_products do |form| =render :partial => "admin/m_odr_file_products/form", :locals => {:form => form}