Commit 96597bbe authored by webchick's avatar webchick
Browse files

Issue #2221041 by alexpott, sun | StuartJNCC: Color palette setting controls are duplicated.

parent e88f22a2
......@@ -118,6 +118,7 @@ function _testColor($theme, $test_values) {
$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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment