Skip to content

HTML code on help section #211

@soullivaneuh

Description

@soullivaneuh

Hi.

I have the following form code:

  = f.text_area :redirect_uri, help: 'Use one line per URI'

I have some extra conditional help to add, based on this old code:

  - if Doorkeeper.configuration.native_redirect_uri
  %span.help-block
    Use
    %code= Doorkeeper.configuration.native_redirect_uri
    for local tests

How can I override the help block to do some logic inside? Is that possible with this library?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions