Skip to content

addon_before misaligned for bootstrap_field #72

Open
@askvictor

Description

@askvictor

If I have the following in my template:
{% bootstrap_field form.shortlink_suffix layout='horizontal' addon_before='some text' %}
It renders the addon text at the top, out of alignment with the rest of the field. Inspecting the output shows
the span class is "input-group-addon". Setting the addon_before_class to "input-group-text" fixes the alignment, but now the text is surrounded by a grey box. Possibly the default class of input-group-addon is incorrect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions