mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Add comment about rendered content in lookbook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user