mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-27 02:46:22 +00:00
fix: enviar los atributos ignorados como valores vacíos
This commit is contained in:
parent
d8a7816c65
commit
865cc8fc18
1 changed files with 4 additions and 0 deletions
|
@ -69,4 +69,8 @@
|
|||
-# Dibuja cada atributo
|
||||
= render 'posts/attributes', site: site, post: post, dir: dir, base: base, locale: locale, except: except
|
||||
|
||||
-# Enviamos valores vacíos para los atributos ocultos
|
||||
- except.each do |attr|
|
||||
%input{ type: 'hidden', name: "#{base}[#{attr}]", value: "" }
|
||||
|
||||
= yield(:post_form)
|
||||
|
|
Loading…
Reference in a new issue