Issue #2250381 by mortendk: Remove the inner div wrapper from forms.
parent
f6f7472f57
commit
a0f81c79a3
|
|
@ -56,7 +56,7 @@ class BulkFormTest extends WebTestBase {
|
|||
$this->drupalGet('test_bulk_form');
|
||||
|
||||
// Test that the views edit header appears first.
|
||||
$first_form_element = $this->xpath('//form/div/div[1][@id = :id]', array(':id' => 'edit-header'));
|
||||
$first_form_element = $this->xpath('//form/div[1][@id = :id]', array(':id' => 'edit-header'));
|
||||
$this->assertTrue($first_form_element, 'The views form edit header appears first.');
|
||||
|
||||
$this->assertFieldById('edit-action', NULL, 'The action select field appears.');
|
||||
|
|
|
|||
|
|
@ -12,4 +12,6 @@
|
|||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<form{{ attributes }}><div>{{ children }}</div></form>
|
||||
<form{{ attributes }}>
|
||||
{{ children }}
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue