function row_input_checkbox($key, $label, $settings = array())
    {
        ?>
        <div class="form-group">
            <label for="salon_settings_<?php 
        echo $key;
        ?>
"><?php 
        echo $label;
        ?>
</label></th>
            <?php 
        SLN_Form::fieldCheckbox("salon_settings[{$key}]", $this->getOpt($key), $settings);
        ?>
            <?php 
        if (isset($settings['help'])) {
            ?>
<p class="help-block"><?php 
            echo $settings['help'];
            ?>
</p><?php 
        }
        ?>
        </div>
    <?php 
    }
/**
 * @param $this SLN_Admin_Settings
 */
function sln_availability_row($prefix, $row)
{
    ?>
    <div class="col-md-12">
        <div class="first-row">
        <?php 
    foreach (SLN_Func::getDays() as $k => $day) {
        ?>
            <div class="form-group">
                <label>
                    <?php 
        SLN_Form::fieldCheckbox($prefix . "[days][{$k}]", isset($row['days'][$k]) ? 1 : null);
        ?>
                    <?php 
        echo substr($day, 0, 3);
        ?>
</label>
            </div>
        <?php 
    }
    ?>
        </div>
        <div class="second-row">
            <?php 
    foreach (array(0, 1) as $i) {
        ?>
                <?php 
        foreach (array('from' => __('From', 'sln'), 'to' => __('To', 'sln')) as $k => $v) {
            ?>
                    <div class="form-group">
                        <label for="<?php 
            echo SLN_Form::makeID($prefix . "[{$k}][{$i}]");
            ?>
">
                            <?php 
            echo $v;
            ?>
                        </label>
                        <?php 
            SLN_Form::fieldTime($prefix . "[{$k}][{$i}]", $row[$k][$i]);
            ?>
                    </div>
                <?php 
        }
        ?>
            <?php 
    }
    ?>
        </div>
    </div>
<?php 
}
        <div class="row">
            <div class="col-xs-1 col-lg-1">
            <span class="service-checkbox <?php 
    echo $bb->hasService($service) ? 'is-checked' : '';
    ?>
">
            <?php 
    $errors = $ah->validateService($service);
    $settings = array('attrs' => array('data-price' => $service->getPrice()));
    if ($errors) {
        $settings['attrs']['disabled'] = 'disabled';
    }
    ?>

            <?php 
    SLN_Form::fieldCheckbox('sln[services][' . $service->getId() . ']', $bb->hasService($service), $settings);
    ?>
            </span>
            </div>
            <div class="col-lg-<?php 
    echo $showPrices ? '8' : '11';
    ?>
 col-xs-<?php 
    echo $showPrices ? '7' : '11';
    ?>
">
                <label for="<?php 
    echo SLN_Form::makeID('sln[services][' . $service->getId() . ']');
    ?>
">
                    <strong class="service-name"><?php 
    </div>
 
    <div class="sln-separator"></div>
    <div class="form-group sln_meta_field">
        <label><?php 
_e('Services', 'sln');
?>
</label><br/>
        <?php 
foreach ($plugin->getServices() as $service) {
    ?>
            <div class="row">
                <div class="col-md-1 col-sm-1 col-xs-2">
            <span class="service-checkbox">
                <?php 
    SLN_Form::fieldCheckbox($helper->getFieldName($postType, 'services[' . $service->getId() . ']'), $booking->hasService($service));
    ?>
            </span>
                </div>
                <div class="col-md-8 col-sm-9 col-xs-10 sln_booking-service-info">
                    <label for="<?php 
    echo SLN_Form::makeID('sln[services][' . $service->getId() . ']');
    ?>
">
                        <strong class="service-name"><?php 
    echo $service->getName();
    ?>
</strong>
                        <span class="service-description"><?php 
    echo $service->getContent();
    ?>
</div>
<h3><?php 
_e('Not available on', 'sln');
?>
</h3>
<?php 
$days = SLN_Func::getDays();
?>
<div class="row">
    <div class="col-md-12 services-notavailable">
        <?php 
foreach ($days as $k => $day) {
    ?>
            <label>
                <?php 
    SLN_Form::fieldCheckbox($helper->getFieldName($postType, 'notav_' . $k), $service->getNotAvailableOn($k));
    ?>
                <?php 
    echo substr($day, 0, 3);
    ?>
            </label>
        <?php 
}
?>
    </div>
    <div class="col-xs-6 col-md-3 col-lg-2 col-sm-3  services-notavailable-h">
        <label>
            <?php 
echo __('From', 'sln');
?>
            <?php