где будет указан охват RGBa , а также ревизия матрицы
$colors = [
'1' => 'a52828',
'2' => 'a5289a',
'3' => '000000',
'4' => '0600ff',
'5' => 'cacaca'
];
<?=
$form->field($products, 'color')
->radioList(
$colors, //но по идее должно быть примерно так: $products->getColors()
[
'item' => function($index, $label, $name, $checked, $value) {
$return = '<input type="radio" id="color_' . $index . '" name="color" value="color_' . $index . '">';
$return .= '<label for="color_' . $index . '"> ';
$return .= '<span style="background-color: #' . $index . ';"><img src="картинка галочки при выборе цвета" alt="Checked Icon"/></span>';
$return .= '</label>';
return $return;
}
]
)
->label(false);
?>
composer require laravel/homestead --dev
php vendor/bin/homestead make
homestead up
Можно просто дать кому-то деньги, мне сделают сайт и все
если он упадет и будут какие-то неполадки
Можно просто дать кому-то деньги
Какое правило в нем написать ?