1*b6c326d8SGreg Roach<?php 2*b6c326d8SGreg Roach 3*b6c326d8SGreg Roach/** 4*b6c326d8SGreg Roach * @var bool|null $checked 5*b6c326d8SGreg Roach * @var bool|null $disabled 6*b6c326d8SGreg Roach * @var string|null $id 7*b6c326d8SGreg Roach * @var string $label 8*b6c326d8SGreg Roach * @var string $name 9*b6c326d8SGreg Roach * @var string $value 10*b6c326d8SGreg Roach */ 11*b6c326d8SGreg Roach 12*b6c326d8SGreg Roach?> 13*b6c326d8SGreg Roach 14dd6b2bfcSGreg Roach<div class="form-check form-check-inline"> 15*b6c326d8SGreg Roach <input type="radio" class="form-check-input" 16*b6c326d8SGreg Roach name="<?= e($name) ?>" 17*b6c326d8SGreg Roach id="<?= e($id ?? $name . '-' . $value) ?>" 18*b6c326d8SGreg Roach value="<?= e($value) ?>" 19*b6c326d8SGreg Roach <?= $checked ?? false ? 'checked' : '' ?> 20*b6c326d8SGreg Roach <?= $disabled ?? false ? 'disabled' : '' ?> 21*b6c326d8SGreg Roach > 22*b6c326d8SGreg Roach <label class="form-check-label" for="<?= e($id ?? $name . '-' . $value) ?>"> 23*b6c326d8SGreg Roach <?= $label ?> 24dd6b2bfcSGreg Roach </label> 25dd6b2bfcSGreg Roach</div> 26