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:
parent
0d147c87bb
commit
99310c56bb
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue