5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 05:01:41 +00:00

fix: #find_each no respeta el orden

This commit is contained in:
f 2023-04-15 15:12:08 -03:00
parent fd41242985
commit 020fb250b4

View file

@ -55,7 +55,7 @@
layouts: site.incompatible_layouts.to_sentence)
.row.row-cols-1.row-cols-md-2.designs
-# Demasiado complejo para un f.collection_radio_buttons
- Design.all.order(priority: :desc).find_each do |design|
- Design.all.order(priority: :desc).each do |design|
.design.col.d-flex.flex-column
.custom-control.custom-radio
= f.radio_button :design_id, design.id,