The form looks so much better with single-action buttons, but, with no title, how do users know what the form does?

  // Get rid of workflow radio buttons that live inside the fieldset
//  unset($form['workflow'][$workflow_name]);
  $form['workflow'][$workflow_name]['#type'] = 'markup';
  $form['workflow'][$workflow_name]['#markup'] = '<h3>' . $form['workflow'][$workflow_name]['#title'] . '</h3>';

CommentFileSizeAuthor
#1 1889468.patch851 bytesnancydru
workflow_title.jpg88.43 KBnancydru

Comments

nancydru’s picture

Status: Active » Needs review
StatusFileSize
new851 bytes

Patch attached

nancydru’s picture

rdeboer’s picture

Cool!

nancydru’s picture

I don't suppose, Rik, that this will get committed any time soon? I have to go into beta by the end of the month and would really like to have something better than a patched module.

rdeboer’s picture

@Nancy:
I'll do my best, but totally snowed under...

nancydru’s picture

I understand. I don't need any more modules to maintain, but if you'd like I can do it.

rdeboer’s picture

Title: Don't remove title when placing buttons. » Don't remove title when placing single-action buttons.
Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Assigned: Unassigned » rdeboer
Status: Needs review » Fixed

Checked in with attribution.

nancydru’s picture

Thanks, Rik.

Status: Fixed » Closed (fixed)

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