Module: Baldur::Optional::AuthPageHelper

Includes:
RenderHelper
Defined in:
app/helpers/baldur/optional/auth_page_helper.rb

Instance Method Summary collapse

Instance Method Details

#ui_auth_page(title:, description:, brand_path: nil, shell_class: nil, card_class: nil, &block) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'app/helpers/baldur/optional/auth_page_helper.rb', line 6

def ui_auth_page(title:, description:, brand_path: nil, shell_class: nil, card_class: nil, &block)
  baldur_render "baldur/optional/auth_page",
                title: title,
                description: description,
                brand_path: brand_path,
                shell_class: shell_class,
                card_class: card_class,
                body: block_given? ? capture(&block) : nil
end