5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 23:45:45 +00:00

no hace falta vincular al mismo idioma

This commit is contained in:
f 2018-02-23 16:51:29 -03:00
parent 1cc24cc819
commit 118d399061
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -112,7 +112,8 @@
options_for_select(@site.everything_of(:materiales_requeridos), @post.get_front_matter(:materiales_requeridos)),
{ class: 'form-control select2', multiple: 'multiple' }
%small.text-muted.form-text= t('posts.materiales_requeridos_help')
- %w[es en ar].each do |lang|
- I18n.available_locales.map(&:to_s).each do |lang|
- next if lang == @lang
.form-group
= label_tag 'post_lang', t("posts.lang.#{lang}")
= select_tag "post[lang][#{lang}]",