You are here

function theme_uc_product_form_prices in Ubercart 6.2

Same name and namespace in other branches
  1. 5 uc_product/uc_product.module \theme_uc_product_form_prices()

Formats product price fields for node/%/edit form.

1 theme call to theme_uc_product_form_prices()
uc_product_form in uc_product/uc_product.module
Implements hook_form().

File

uc_product/uc_product.module, line 593
The product module for Ubercart.

Code

function theme_uc_product_form_prices($form) {
  $output = '<table><tr>';
  foreach (element_children($form) as $field) {
    $output .= '<td>' . drupal_render($form[$field]) . '</td>';
  }
  $output .= '</tr></table>';
  return $output;
}