5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 05:46:23 +00:00

fix: el valor es obligatorio

This commit is contained in:
f 2024-05-27 16:44:23 -03:00
parent 0d147c87bb
commit 99310c56bb
No known key found for this signature in database

View file

@ -45,7 +45,7 @@
- content_for :"#{id}_footer" do - content_for :"#{id}_footer" do
.input-group.w-auto.flex-grow-1.my-0 .input-group.w-auto.flex-grow-1.my-0
%input.form-control{ form: form_id, name: 'value', type: 'text', placeholder: t('.add_new') } %input.form-control{ form: form_id, name: 'value', type: 'text', placeholder: t('.add_new'), required: true }
.input-group-append .input-group-append
= render 'bootstrap/btn', content: t('.add', layout: ''), form: form_id, type: 'submit', class: 'mb-0 mr-0' = render 'bootstrap/btn', content: t('.add', layout: ''), form: form_id, type: 'submit', class: 'mb-0 mr-0'
= render 'bootstrap/btn', content: t('.accept'), action: 'array#accept modal#hide', class: 'm-0 mr-1' = render 'bootstrap/btn', content: t('.accept'), action: 'array#accept modal#hide', class: 'm-0 mr-1'