mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:01:42 +00:00
licencia y diseño son campos requeridos
This commit is contained in:
parent
c35c96f9de
commit
8e4e645d6d
1 changed files with 4 additions and 2 deletions
|
@ -43,7 +43,8 @@
|
|||
%h3
|
||||
= f.radio_button :design_id, design.id,
|
||||
checked: design.id == site.design_id,
|
||||
disabled: design.disabled
|
||||
disabled: design.disabled,
|
||||
required: true
|
||||
= f.label "design_id_#{design.id}", design.name
|
||||
= sanitize_markdown design.description,
|
||||
tags: %w[p a strong em]
|
||||
|
@ -65,7 +66,8 @@
|
|||
.col
|
||||
%h3
|
||||
= f.radio_button :licencia_id, licencia.id,
|
||||
checked: licencia.id == site.licencia_id
|
||||
checked: licencia.id == site.licencia_id,
|
||||
required: true
|
||||
= f.label "licencia_id_#{licencia.id}" do
|
||||
= image_tag licencia.icons, alt: licencia.name
|
||||
= licencia.name
|
||||
|
|
Loading…
Reference in a new issue