Merge branch 'reorder-with-locale' into 'rails'

enviar el idioma al reordenar!

See merge request sutty/sutty!67
This commit is contained in:
fauno 2021-10-27 19:35:20 +00:00
commit 58bb42e532

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