mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 05:36:21 +00:00
fix: el valor es obligatorio
This commit is contained in:
parent
0d147c87bb
commit
99310c56bb
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
|
||||
- content_for :"#{id}_footer" do
|
||||
.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
|
||||
= 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'
|
||||
|
|
Loading…
Reference in a new issue