Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Commit

Permalink
Bs3InputMacro: fixed compatibility with Nette Utils 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Jul 12, 2016
1 parent 807ec96 commit 2c42d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/Latte/Macros/BS3InputMacros.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function input(Html $input, BaseControl $control, $isPart)

} elseif ($name === 'input' && ($input->type === 'submit' || $input->type === 'reset')) {
$input->setName('button');
$input->add($input->value);
$input->addHtml($input->value);
$input->addClass('btn');
}

Expand Down

0 comments on commit 2c42d31

Please sign in to comment.