set/all/editor.rb in card-mod-edit-0.14.2 vs set/all/editor.rb in card-mod-edit-0.15.0
- old
+ new
@@ -27,11 +27,11 @@
yield card if card
rescue Card::Error::CodenameNotFound
nil
end
- view :input, unknown: true do
+ view :input, unknown: true, cache: :never do
try(input_method(input_type)) ||
input_defined_by_card ||
send(input_method(default_input_type))
end
@@ -48,7 +48,11 @@
"data-card-type-code": card.type_code
end
def text_field_input
text_field :content, class: classy("d0-card-content")
+ end
+
+ def hidden_input
+ hidden_field :content, class: classy("d0-card-content")
end
end