You are here

function hosting_task_retry_form in Hostmaster (Aegir) 6

1 string reference to 'hosting_task_retry_form'
hosting_task_view in modules/hosting/task/hosting_task.module
Implementation of hook_view().

File

modules/hosting/task/hosting_task.module, line 644
Web server node type is defined here.

Code

function hosting_task_retry_form($form_state, $nid) {
  $form['#prefix'] = '<div class="hosting-task-retry">';
  $form['task'] = array(
    '#type' => 'hidden',
    '#default_value' => $nid,
  );
  $form['retry'] = array(
    '#type' => 'submit',
    '#value' => t('Retry'),
  );
  $form['#suffix'] = '</div>';
  return $form;
}