<?php if ($andOrOr): ?>
    <h4 class='condition-and-or-or'><span class='label label-default'> <?php echo $andOrOr; ?> </span></h4>
<?php endif; ?>

<?php echo CHtml::form(
    $formAction,
    'post',
    array(
        'id'=>"conditionaction" . $row['cid'],
        'name'=>"conditionaction" . $row['cid']
    )
); ?>
    <table class='table conditions-table'>
        <tr class='active'>
            <?php if ($subaction == "copyconditionsform" || $subaction == "copyconditions" ): ?>
                <td></td>
                <td class='scenariotd'>
                    <input 
                        type='checkbox'
                        name='aConditionFromScenario<?php echo $scenarionr['scenario']; ?>'
                        id='cbox<?php echo $row['cid']; ?>'
                        value='<?php echo $row['cid']; ?>'
                        checked='checked'
                    />
                </td>
            <?php endif; ?>

            <td class='col-md-4 questionnamecol'>
                <span><?php echo $name; ?></span>
            </td>
            <td class='col-md-2 operatornametd'>
                <span><?php echo $method[trim($row['method'])]; ?> </span>
            </td>
            <td class='col-md-3 questionanswertd'>
                <span><?php echo $target; ?></span>
            </td>
            <td class='text-right'>
                <?php echo $editButtons; ?>
                <?php echo $hiddenFields; ?>
            </td>
        </tr>
    </table>
</form>
