no perder el valor de la plantilla
sino `find_template` no la encuentra
This commit is contained in:
parent
9bcda80619
commit
baf995ab82
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue