5
0
Fork 0
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:
f 2019-10-14 12:17:01 -03:00
parent c35c96f9de
commit 8e4e645d6d
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -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