diff --git a/app/views/posts/_form.haml b/app/views/posts/_form.haml index db790d75..bf76d6f0 100644 --- a/app/views/posts/_form.haml +++ b/app/views/posts/_form.haml @@ -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')