From 8e4e645d6d2c10908c7a76a8f0cf2a86a253c32c Mon Sep 17 00:00:00 2001 From: f Date: Mon, 14 Oct 2019 12:17:01 -0300 Subject: [PATCH] =?UTF-8?q?licencia=20y=20dise=C3=B1o=20son=20campos=20req?= =?UTF-8?q?ueridos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/sites/_form.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/sites/_form.haml b/app/views/sites/_form.haml index b8e3ec41..0afb3ada 100644 --- a/app/views/sites/_form.haml +++ b/app/views/sites/_form.haml @@ -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