Module: Baldur::Optional::AuthPageHelper

Includes:
RenderHelper
Included in:
UiHelper
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, top_rail: nil, notice: nil, alert: nil, &block) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
# 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,
                 top_rail: nil, notice: nil, alert: nil, &block)
  baldur_render 'baldur/optional/auth_page',
                title: title,
                description: description,
                brand_path: brand_path,
                shell_class: shell_class,
                card_class: card_class,
                top_rail: top_rail,
                notice: notice,
                alert: alert,
                body: block_given? ? capture(&block) : nil
end