diff --git a/app/views/posts/_htmx_form.haml b/app/views/posts/_htmx_form.haml index 03e82e32..8cc8c938 100644 --- a/app/views/posts/_htmx_form.haml +++ b/app/views/posts/_htmx_form.haml @@ -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)