You are here

function theme_ajax_register_wrapper in Ajax Login/Register 7.4

Returns HTML for a wrapped Ajax Register form.

File

./ajax_register.theme.inc, line 11
Theming functions for AJAX REGISTER module.

Code

function theme_ajax_register_wrapper($variables) {
  $form = $variables['form'];
  $html_id = $form['actions']['submit']['#ajax']['wrapper'];
  return '<div id="' . $html_id . '">' . $form['#children'] . '</div>';
}