Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed markup

  • Loading branch information...
commit 9f9cdf3f249e6e4dac5040ee90a5efcfb34aadf9 1 parent 907f598
Fabien Potencier fabpot authored

Showing 1 changed file with 23 additions and 70 deletions. Show diff stats Hide diff stats

  1. +23 70 guides/forms.rst
93 guides/forms.rst
Source Rendered
@@ -108,35 +108,17 @@ Basic Fields
108 108
109 109 Symfony2 ships with all fields available in plain HTML:
110 110
111   -.. code-block:: html
112   -
113   - <table>
114   - <tr><th>Field Name</th><th>Description</th></tr>
115   - <tr>
116   - <td>TextField</td>
117   - <td>An input tag for entering short text</td>
118   - </tr>
119   - <tr>
120   - <td>TextareaField</td>
121   - <td>A textarea tag for entering long text</td>
122   - </tr>
123   - <tr>
124   - <td>CheckboxField</td>
125   - <td>A checkbox</td>
126   - </tr>
127   - <tr>
128   - <td>ChoiceField</td>
129   - <td>A drop-down or multiple radio-buttons/checkboxes for selecting values</td>
130   - </tr>
131   - <tr>
132   - <td>PasswordField</td>
133   - <td>A password input tag</td>
134   - </tr>
135   - <tr>
136   - <td>HiddenField</td>
137   - <td>A hidden input tag</td>
138   - </tr>
139   - </table>
  111 +
  112 +============= ==================
  113 +Field Name Description
  114 +============= ==================
  115 +TextField An input tag for entering short text
  116 +TextareaField A textarea tag for entering long text
  117 +CheckboxField A checkbox
  118 +ChoiceField A drop-down or multiple radio-buttons/checkboxes for selecting values
  119 +PasswordField A password input tag
  120 +HiddenField A hidden input tag
  121 +============= ==================
140 122
141 123 Localized Fields
142 124 ~~~~~~~~~~~~~~~~
@@ -144,47 +126,18 @@ Localized Fields
144 126 The Form component also features fields that render differently depending on
145 127 the locale of the user:
146 128
147   -.. code-block:: html
148   -
149   - <table>
150   - <tr><th>Field Name</th><th>Description</th></tr>
151   - <tr>
152   - <td>NumberField</td>
153   - <td>A text field for entering numbers</td>
154   - </tr>
155   - <tr>
156   - <td>IntegerField</td>
157   - <td>A text field for entering integers</td>
158   - </tr>
159   - <tr>
160   - <td>PercentField</td>
161   - <td>A text field for entering percent values</td>
162   - </tr>
163   - <tr>
164   - <td>MoneyField</td>
165   - <td>A text field for entering money values</td>
166   - </tr>
167   - <tr>
168   - <td>DateField</td>
169   - <td>A text field or multiple drop-downs for entering dates</td>
170   - </tr>
171   - <tr>
172   - <td>BirthdayField</td>
173   - <td>An extension of DateField for selecting birthdays</td>
174   - </tr>
175   - <tr>
176   - <td>TimeField</td>
177   - <td>A text field or multiple drop-downs for entering a time</td>
178   - </tr>
179   - <tr>
180   - <td>DateTimeField</td>
181   - <td>A combination of DateField and TimeField</td>
182   - </tr>
183   - <tr>
184   - <td>TimezoneField</td>
185   - <td>An extension of ChoiceField for selecting a timezone</td>
186   - </tr>
187   - </table>
  129 +============= ==================
  130 +Field Name Description
  131 +============= ==================
  132 +NumberField A text field for entering numbers
  133 +IntegerField A text field for entering integers
  134 +PercentField A text field for entering percent values
  135 +MoneyField A text field for entering money values
  136 +DateField A text field or multiple drop-downs for entering dates
  137 +BirthdayField An extension of DateField for selecting birthdays
  138 +TimeField A text field or multiple drop-downs for entering a time
  139 +DateTimeField A combination of DateField and TimeField
  140 +TimezoneField An extension of ChoiceField for selecting a timezone
188 141
189 142 Field Groups
190 143 ~~~~~~~~~~~~

0 comments on commit 9f9cdf3

Please sign in to comment.
Something went wrong with that request. Please try again.