Issue #2221041 by alexpott, sun | StuartJNCC: Color palette setting controls are duplicated.
parent
e88f22a232
commit
96597bbe9c
|
@ -118,6 +118,7 @@ class ColorTest extends WebTestBase {
|
|||
$this->drupalLogin($this->big_user);
|
||||
$this->drupalGet($settings_path);
|
||||
$this->assertResponse(200);
|
||||
$this->assertUniqueText('Color set');
|
||||
$edit['scheme'] = '';
|
||||
$edit[$test_values['palette_input']] = '#123456';
|
||||
$this->drupalPostForm($settings_path, $edit, t('Save configuration'));
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<div id="palette" class="clearfix">
|
||||
{{ form.palette }}
|
||||
</div>
|
||||
{{ form }}
|
||||
{{ form|without('scheme', 'palette') }}
|
||||
<h2>{{ 'Preview'|t }}</h2>
|
||||
{{ html_preview }}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue