przewiń do treści

Zend Framework od podstaw

Włodzimierz Gajda

<form enctype="application/x-www-form-urlencoded" action="" method="post">
  <dl class="zend_form">
    <dt id="imie-label">
      <label for="imie" class="optional">Imię:</label>
    </dt>
    <dd id="imie-element">
      <input type="text" name="imie" id="imie" value="">
    </dd>
    <dt id="nazwisko-label">
      <label for="nazwisko" class="optional">Nazwisko:</label>
    </dt>
    <dd id="nazwisko-element">
      <input type="text" name="nazwisko" id="nazwisko" value="">
    </dd>
    <dt id="zatwierdz-label">
      &#160;
    </dt>
    <dd id="zatwierdz-element">
      <input type="submit" name="zatwierdz" id="zatwierdz" value="Przetwórz formularz">
    </dd>
  </dl>
</form>

Listing 29.1. Kod źródłowy formularza z przykładu 27.1

Rozdział 29. Dostosowywanie kodu HTML formularzy

listing-29-01.txt