Skip to content

mark default radio button selected with bootstrap active class#63

Open
geskill wants to merge 1 commit into
slywalker:masterfrom
geskill:patch-1
Open

mark default radio button selected with bootstrap active class#63
geskill wants to merge 1 commit into
slywalker:masterfrom
geskill:patch-1

Conversation

@geskill

@geskill geskill commented Jun 2, 2014

Copy link
Copy Markdown

sample:

echo $this->Form->input('start_minutes', array(
    'type' => 'radio',
    'class' => 'btn btn-default',
    'div' => false,
    'legend' => false,
    'hiddenField' => false,
    'default' => '0',
    'options' => array('0' => __('now'), '15' => __('in 15 min.'), '30' => __('in 30 min.'))));

sample:

echo $this->Form->input('start_minutes', array(
	'type' => 'radio',
	'class' => 'btn btn-default',
	'div' => false,
	'legend' => false,
	'hiddenField' => false,
	'default' => '0',
	'options' => array('0' => __('now'), '15' => __('in 15 min.'), '30' => __('in 30 min.'))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant