This commit is contained in:
f 2018-02-11 15:23:20 -03:00
parent cb465c1995
commit 89c6339d1e
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -21,8 +21,8 @@
.form-group
= label_tag 'post_dir', t('posts.dir')
= select_tag 'post[dir]',
options_for_select([[t('posts.ltr'), 'ltr'], [t('posts.rtl'), 'rtl']],
direction, { class: 'form-control' }
options_for_select([[t('posts.ltr'), 'ltr'], [t('posts.rtl'), 'rtl']], direction),
{ class: 'form-control' }
.form-group
= text_field 'post', 'title', value: @post.title, class: field_class,
placeholder: t('posts.title')