5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 10:26:22 +00:00

fix: enviar los atributos ignorados como valores vacíos

This commit is contained in:
f 2024-05-27 15:28:17 -03:00
parent d8a7816c65
commit 865cc8fc18
No known key found for this signature in database

View file

@ -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)