Skip to content

Would make more sense that form submit buttons have boostrap class btn-primary #29114

Closed
@JulienMaille

Description

@JulienMaille

Description
Bootstrap template update from 3.3 to 4.x replaced btn-default class with btn-secondary, which results in pale grey submit buttons.

{%- set attr = attr|merge({class: (attr.class|default('btn-secondary') ~ ' btn')|trim}) -%}

I believe it would make more sense to give it btn-primary class as documented in the form section of Bootstrap 4 documentation: https://getbootstrap.com/docs/4.0/components/forms/

Example

Offical documentation and examples
image

Current template
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions