mirror of
https://github.com/django/django.git
synced 2025-07-28 23:54:02 +00:00
Refs #32339 -- Deprecated default.html form template.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
This commit is contained in:
parent
6af8673255
commit
d126eba363
12 changed files with 337 additions and 176 deletions
|
@ -1196,14 +1196,12 @@ class TestSplitFormField(PostgreSQLSimpleTestCase):
|
|||
self.assertHTMLEqual(
|
||||
str(SplitForm()),
|
||||
"""
|
||||
<tr>
|
||||
<th><label for="id_array_0">Array:</label></th>
|
||||
<td>
|
||||
<input id="id_array_0" name="array_0" type="text" required>
|
||||
<input id="id_array_1" name="array_1" type="text" required>
|
||||
<input id="id_array_2" name="array_2" type="text" required>
|
||||
</td>
|
||||
</tr>
|
||||
<div>
|
||||
<label for="id_array_0">Array:</label>
|
||||
<input id="id_array_0" name="array_0" type="text" required>
|
||||
<input id="id_array_1" name="array_1" type="text" required>
|
||||
<input id="id_array_2" name="array_2" type="text" required>
|
||||
</div>
|
||||
""",
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue