no perder el valor de la plantilla

sino `find_template` no la encuentra
This commit is contained in:
f 2018-06-21 14:35:14 -03:00
parent 9bcda80619
commit baf995ab82
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -16,6 +16,7 @@
- url = site_post_path(@site, @post, lang: @lang)
- method = :patch
= form_tag url, method: method, class: 'form', novalidate: true do
= hidden_field_tag 'template', params[:template]
.form-group
= submit_tag t('posts.save'), class: 'btn btn-success'
.form-group