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

fix: mostrar los diseños en dos columnas

This commit is contained in:
f 2023-03-31 19:31:22 -03:00
parent b15ebdf549
commit 0d0c8c8b07

View file

@ -53,10 +53,10 @@
= render 'bootstrap/alert' do = render 'bootstrap/alert' do
= t('activerecord.errors.models.site.attributes.design_id.layout_incompatible.help', = t('activerecord.errors.models.site.attributes.design_id.layout_incompatible.help',
layouts: site.incompatible_layouts.to_sentence) layouts: site.incompatible_layouts.to_sentence)
.row.designs .row.row-cols-1.row-cols-md-2.designs
-# Demasiado complejo para un f.collection_radio_buttons -# Demasiado complejo para un f.collection_radio_buttons
- Design.all.find_each do |design| - Design.all.find_each do |design|
.design.col-md-4.d-flex.flex-column .design.col.d-flex.flex-column
.custom-control.custom-radio .custom-control.custom-radio
= f.radio_button :design_id, design.id, = f.radio_button :design_id, design.id,
checked: design.id == site.design_id, checked: design.id == site.design_id,