Carbon_Fields\Field\Checkbox_Field::template PHP Метод

template() публичный Метод

Underscore template of the field.
public template ( )
    public function template()
    {
        ?>
		<label>
			<input type="checkbox" name="{{{ name }}}" value="{{ option_value }}" {{{ option_value == value ? 'checked="checked"' : '' }}} />
			{{{ option_label }}}
		</label>
		<?php 
    }