Skip to content

Commit

Permalink
Dev: #11863: Dual scale related : add leftheader/rightheader in dropd…
Browse files Browse the repository at this point in the history
…own too
  • Loading branch information
Shnoulle committed Nov 8, 2016
1 parent d16d869 commit 7ab4289
Showing 1 changed file with 16 additions and 10 deletions.
Expand Up @@ -21,16 +21,16 @@
<col class="dsheader" style='width: <?php echo $cellwidth; ?>%;' />
</colgroup>
<!-- Header -->

<thead>
<tr class="ls-heading">
<td></td>
<th class='left-header'><?php echo $leftheader; ?></th>
<td></td>
<th class='right-header'><?php echo $rightheader; ?></th>
</tr>
</thead>

<?php if ($leftheader != '' || $rightheader !=''): ?>
<thead>
<tr class="ls-heading">
<td></td>
<th class='left-header'><?php echo $leftheader; ?></th>
<td></td>
<th class='right-header'><?php echo $rightheader; ?></th>
</tr>
</thead>
<?php endif; ?>

<tbody>

Expand Down Expand Up @@ -64,6 +64,9 @@
<!-- First dropdown -->

<td class="answer-item dropdown-item">
<?php if ($leftheader != '') : ?>
<div class='visible-xs leftheader control-label'><?php echo $leftheader; ?></div>
<?php endif; ?>
<?php if ($ddsuffix != '' || $ddprefix != ''): ?>
<div class="ls-input-group">
<?php endif; ?>
Expand Down Expand Up @@ -120,6 +123,9 @@ class='form-control'
<!-- Second dropdown -->

<td class="answer-item dropdown-item">
<?php if ($rightheader != '') : ?>
<div class='visible-xs rightheader control-label'><?php echo $rightheader; ?></div>
<?php endif; ?>
<!-- We don't need another label : aria-labelledby for accessibility, and we have only 2 line in phone and no-more-table -->
<?php if ($ddprefix != '' || $ddsuffix != ''): ?>
<div class="ls-input-group">
Expand Down

0 comments on commit 7ab4289

Please sign in to comment.