5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 21:36:21 +00:00

enviar el idioma al reordenar!

los tests envían el idioma pero no el panel
This commit is contained in:
f 2021-10-27 10:12:28 -03:00
parent ad27a938f9
commit 25fe41bfa2

View file

@ -67,6 +67,7 @@
%h2= t('posts.empty') %h2= t('posts.empty')
- else - else
= form_tag site_posts_reorder_path, method: :post do = form_tag site_posts_reorder_path, method: :post do
%input{ type: 'hidden', name: 'post[lang]', value: @locale }
%table.table{ data: { controller: 'reorder' } } %table.table{ data: { controller: 'reorder' } }
%caption.sr-only= t('posts.caption') %caption.sr-only= t('posts.caption')
%thead %thead