Skip to content

Commit

Permalink
Merge pull request backdrop-ops#10 from jenlampton/9-vtab-labels
Browse files Browse the repository at this point in the history
Issue backdrop-ops#9: Update vertical tab labels to exlude the word Fieldset.
  • Loading branch information
jenlampton committed Mar 3, 2015
2 parents e17e1ff + 12a0332 commit 5445065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion styleguide.api.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php

/**
* Register a style guide element for display.
*
Expand Down
2 changes: 2 additions & 0 deletions styleguide.module
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,8 @@ function styleguide_form($form, &$form_state, $form_keys = array()) {
);
foreach ($fieldsets as $fieldset) {
$form['vertical_tabs'][$fieldset] = $form[$fieldset];
$title = styleguide_word() . ' ' . styleguide_word() . ' ' . styleguide_word();
$form['vertical_tabs'][$fieldset]['#title'] = $title;
}
$form['markup'] = array(
'#markup' => t('<p><em>Markup</em>: Note that markup does not allow titles or descriptions. Use "item" for those options.</p>') . styleguide_paragraph(1),
Expand Down

0 comments on commit 5445065

Please sign in to comment.