function tripal_pub_citation_form

2.x tripal_pub.pub_citation.inc tripal_pub_citation_form($form, &$form_state)
3.x tripal_chado.pub_importers.inc tripal_pub_citation_form($form, &$form_state)
1.x pub_citation.inc tripal_pub_citation_form($form_state)
1 string reference to 'tripal_pub_citation_form'
tripal_pub_menu in tripal_pub/tripal_pub.module
Tripal-Publication-Menu

File

tripal_pub/includes/pub_citation.inc, line 5

Code

function tripal_pub_citation_form($form_state) {

  $form['create_all'] = array(
    '#type' => 'item',
    '#value' => t('Submit a job to create citation for the publications in chado. '),
  );

  $form['options'] = array(
    '#type' => 'radios',
    '#options' =>
    array('all' => 'Create citation for all publications. Replace the existing citation if it exists.',
      'new' => 'Create citation for publication only if it does not already have one.'),
    '#default_value' => 'all'
  );

  $form['submit'] = array(
    '#type' => 'submit',
    '#weight' => 10,
    '#value' => t('Submit')
  );

  return $form;
}