przewiń do treści

Zend Framework od podstaw

Włodzimierz Gajda

<form
      action="<?php echo $this->form->getAction() ?>"
      method="<?php echo $this->form->getMethod() ?>"
>
    <table summary="">
        <tr>
            <th><?php echo trim($this->form->imie->renderLabel()) ?></th>
            <td><?php echo trim($this->form->imie->renderViewHelper()) ?></td>
        </tr>
        <tr>
            <th><?php echo trim($this->form->nazwisko->renderLabel()) ?></th>
            <td><?php echo trim($this->form->nazwisko->renderViewHelper()) ?></td>
        </tr>
        <tr>
            <th></th>
            <td><?php echo trim($this->form->zatwierdz->renderViewHelper()) ?></td>
        </tr>
    </table>
</form>

Listing 29.12. Szablon formularza

Rozdział 29. Dostosowywanie kodu HTML formularzy

listing-29-12.txt