mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 11:01:41 +00:00
fix: mostrar los diseños en dos columnas
This commit is contained in:
parent
b15ebdf549
commit
0d0c8c8b07
1 changed files with 2 additions and 2 deletions
|
@ -53,10 +53,10 @@
|
|||
= render 'bootstrap/alert' do
|
||||
= t('activerecord.errors.models.site.attributes.design_id.layout_incompatible.help',
|
||||
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
|
||||
- Design.all.find_each do |design|
|
||||
.design.col-md-4.d-flex.flex-column
|
||||
.design.col.d-flex.flex-column
|
||||
.custom-control.custom-radio
|
||||
= f.radio_button :design_id, design.id,
|
||||
checked: design.id == site.design_id,
|
||||
|
|
Loading…
Reference in a new issue