I want to show some node fields in buttonpane when I open node in modal.

As far as I know, it will automatically show there inputs with type submit and links with class button, but I added class button on email field link, anchor rendered is like:

<a href="mailto:[email protected]" class="button">Send email</a>

but it's not showing in buttonpane.

Any idea why and how to fix it?

1 Answer 1


Ah, I just figured out from core/misc/dialog/dialog.ajax.js that I need wrapper with class form-actions.

<div class="form-actions">
  <a href="mailto:[email protected]" class="button">Send email</a>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.