Merge branch 'reorder-with-locale' into 'rails'
enviar el idioma al reordenar! See merge request sutty/sutty!67
This commit is contained in:
commit
58bb42e532
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue