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:
parent
fd41242985
commit
020fb250b4
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue