2023-07-17 17:01:05 +00:00
|
|
|
|
2023-06-21 14:03:24 +00:00
|
|
|
= form_for site, html: { class: form_class(site) } do |f|
|
|
|
|
- unless site.persisted?
|
|
|
|
.form-group#design_id
|
|
|
|
- if invalid? site, :design_id
|
|
|
|
= render 'bootstrap/alert' do
|
|
|
|
= t('activerecord.errors.models.site.attributes.design_id.layout_incompatible.help',
|
|
|
|
layouts: site.incompatible_layouts.to_sentence)
|
2023-07-05 16:52:25 +00:00
|
|
|
|
2023-12-26 15:49:54 +00:00
|
|
|
= render '/designs/designs_desktop', site: @site, designs: @designs
|
|
|
|
= render '/designs/designs_mobile', site: @site, designs: @designs
|
|
|
|
= render '/designs/designs_buttons', site: @site, designs: @designs
|