Projet

Général

Profil

Paste
Télécharger (876 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / webform / templates / webform-form.tpl.php @ 13755f8d

1
<?php
2

    
3
/**
4
 * @file
5
 * Customize the display of a complete webform.
6
 *
7
 * This file may be renamed "webform-form-[nid].tpl.php" to target a specific
8
 * webform on your site. Or you can leave it "webform-form.tpl.php" to affect
9
 * all webforms on your site.
10
 *
11
 * Available variables:
12
 * - $form: The complete form array.
13
 * - $nid: The node ID of the Webform.
14
 *
15
 * The $form array contains two main pieces:
16
 * - $form['submitted']: The main content of the user-created form.
17
 * - $form['details']: Internal information stored by Webform.
18
 */
19
?>
20
<?php
21
  // Print out the main part of the form.
22
  // Feel free to break this up and move the pieces within the array.
23
  print drupal_render($form['submitted']);
24

    
25
  // Always print out the entire $form. This renders the remaining pieces of the
26
  // form that haven't yet been rendered above.
27
  print drupal_render_children($form);