Add comment about rendered content in lookbook

This commit is contained in:
Klaus Zanders
2026-05-29 09:27:05 +02:00
parent ac41337290
commit cda0ad9616
@@ -48,6 +48,7 @@ module OpenProject
# @display min_height 600px
# @label Hidden input mode
# @param output_format [Symbol] select [json, params]
# This also renders a field that shows the value of the hidden input to show the different serialization formats.
def with_hidden_input(output_format: :json)
render_with_template(locals: { query: UserQuery.new, output_format: output_format.to_sym })
end