Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 24, 2016
1 parent be78a4b commit 21c34d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Plugin/TagHelpers.pm
Expand Up @@ -24,9 +24,9 @@ sub register {
$app->helper(check_box => sub { _input(@_, type => 'checkbox') });
$app->helper(file_field => sub { _empty_field('file', @_) });
$app->helper(image => sub { _tag('img', src => shift->url_for(shift), @_) });
$app->helper(input_tag => sub { _input(@_) });
$app->helper(input_tag => sub { _input(@_) });
$app->helper(password_field => sub { _empty_field('password', @_) });
$app->helper(radio_button => sub { _input(@_, type => 'radio') });
$app->helper(radio_button => sub { _input(@_, type => 'radio') });

# "t" is just a shortcut for the "tag" helper
$app->helper($_ => sub { shift; _tag(@_) }) for qw(t tag);
Expand Down

0 comments on commit 21c34d8

Please sign in to comment.