You are here

function tipsy_custom_selector_form in Tipsy 7

Implementation of a single tipsy rule form.

1 call to tipsy_custom_selector_form()
tipsy_admin in ./tipsy.admin.inc
Implementation of tipsy admin form.

File

./tipsy.admin.inc, line 215

Code

function tipsy_custom_selector_form($options = FALSE) {
  $form = array();
  $form['#tree'] = TRUE;
  $form['selector'] = array(
    '#type' => 'textarea',
    '#weight' => 1,
    '#rows' => 2,
    '#default_value' => $options['selector'],
  );
  $form['options'] = tipsy_options_form($options);
  return $form;
}