Problem/Motivation

On the Single Content Sync import page
/admin/content/import,
when using the Gin admin theme, the primary submit button is incorrectly placed into the “More actions” dropdown, even though the form only contains a single submit action.

This happens unless the submit button array key is explicitly named submit.

Steps to reproduce

- Enable Gin admin theme
- Go to /admin/content/import
- Observe that the Import button appears under the Gin More actions dropdown.

Proposed resolution

The Import button should be rendered as the primary action button, visible without opening More actions, since:

it is the only submit button

it is marked as #button_type => 'primary'

CommentFileSizeAuthor
#2 issue-3569985-02.patch485 bytesmr.york

Comments

mr.york created an issue. See original summary.

mr.york’s picture

StatusFileSize
new485 bytes

Patch attached.

mr.york’s picture

Status: Active » Needs review
vistree’s picture

Same problem for us with single_content_sync and Gin as backend theme - the "Import" button is hidden in the more actions dropdown. Patch from #2 works fine and solves the problem.

  • nginex committed 632b1d0f on 1.4.x
    Issue #3569985 Rename import button to submit
    
nginex’s picture

Assigned: mr.york » Unassigned
Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.