Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
385 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
module Primer
module OpenProject
module Forms
# :nodoc:
class HtmlContent < Primer::Forms::BaseComponent
def initialize(&html_block)
super()
@html_block = html_block
end
def hidden? = false
2025-08-29 16:50:32 +01:00
def perform_render(&)
super(&@html_block)
end
end
end
end
end