@@ -86,7 +86,7 @@ $(function() {
8686 </span >
8787 </div >
8888 <div >
89- <button type =" button" id =" RelatedProduct-search{{ loop .index0 }}" class =" btn btn-ec-regular" data-toggle =" modal" data-target =" #RelatedProductSearchProductModal" data-id =" {{ loop .index0 }}" >
89+ <button type =" button" id =" RelatedProduct-search{{ loop .index0 }}" class =" btn btn-ec-regular" data-bs- toggle =" modal" data-bs -target =" #RelatedProductSearchProductModal" data-id =" {{ loop .index0 }}" >
9090 {{ ' related_product.select_product' | trans }}
9191 </button >
9292 <button type =" button" id =" RelatedProduct-delete{{ loop .index0 }}" class =" btn btn-default text-right RelatedProduct-view{{ loop .index0 }}" data-id =" {{ loop .index0 }}" >
@@ -104,7 +104,7 @@ $(function() {
104104 <span id =" RelatedProduct-product_code{{ loop .index0 }}" class =" RelatedProduct-view{{ loop .index0 }} hidden" ></span >
105105 </div >
106106 <div >
107- <button type =" button" id =" RelatedProduct-search{{ loop .index0 }}" class =" btn btn-ec-regular" data-toggle =" modal" data-target =" #RelatedProductSearchProductModal" data-id =" {{ loop .index0 }}" >
107+ <button type =" button" id =" RelatedProduct-search{{ loop .index0 }}" class =" btn btn-ec-regular" data-bs- toggle =" modal" data-bs -target =" #RelatedProductSearchProductModal" data-id =" {{ loop .index0 }}" >
108108 {{ ' related_product.select_product' | trans }}
109109 </button >
110110 <button type =" button" id =" RelatedProduct-delete{{ loop .index0 }}" class =" btn text-right RelatedProduct-view{{ loop .index0 }} d-none" data-id =" {{ loop .index0 }}" >
@@ -142,19 +142,17 @@ $(function() {
142142 <div class =" modal-content" >
143143 <div class =" modal-header" >
144144 <h5 class =" modal-title" >{{ ' related_product.modal.product_search.title' | trans }}</h5 >
145- <button class =" close" type =" button" data-dismiss =" modal" aria-label =" Close" >
146- <span aria-hidden =" true" >×</span >
147- </button >
145+ <button class =" btn-close" type =" button" data-bs-dismiss =" modal" aria-label =" Close" ></button >
148146 </div >
149147 <div class =" modal-body" >
150- <div class =" form-group" >
148+ <div class =" form-group mb-3 " >
151149 {{ form_widget(searchForm .id , { attr : { placeholder : ' related_product.modal.product_search.input_name' } } ) }}
152150 </div >
153- <div class =" form-group" >
151+ <div class =" form-group mb-3 " >
154152 {{ form_widget(searchForm .category_id ) }}
155153 </div >
156- <div class =" form-group" >
157- <button type =" button" id =" RelatedProductSearchButton" class =" btn btn-primary " >
154+ <div class =" form-group mb-3 " >
155+ <button type =" button" id =" RelatedProductSearchButton" class =" btn btn-ec-conversion " >
158156 {{ ' admin.common.execute' | trans }}
159157 </button >
160158 </div >
0 commit comments