ocultar la direccion del texto tambien
This commit is contained in:
parent
ac27a6f905
commit
f6da78738d
1 changed files with 7 additions and 6 deletions
|
@ -19,6 +19,7 @@
|
||||||
= hidden_field_tag 'template', params[:template]
|
= hidden_field_tag 'template', params[:template]
|
||||||
.form-group
|
.form-group
|
||||||
= submit_tag t('posts.save'), class: 'btn btn-success submit-post'
|
= submit_tag t('posts.save'), class: 'btn btn-success submit-post'
|
||||||
|
- if @post.has_field? :dir
|
||||||
.form-group
|
.form-group
|
||||||
= label_tag 'post_dir', t('posts.dir')
|
= label_tag 'post_dir', t('posts.dir')
|
||||||
= select_tag 'post[dir]',
|
= select_tag 'post[dir]',
|
||||||
|
|
Loading…
Reference in a new issue