diff --git a/app/views/posts/attributes/_new_array.haml b/app/views/posts/attributes/_new_array.haml index 71c409a2..38ba4eb9 100644 --- a/app/views/posts/attributes/_new_array.haml +++ b/app/views/posts/attributes/_new_array.haml @@ -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'