Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
slightly better description for select_field helper
  • Loading branch information
kraih committed Jan 2, 2014
1 parent 684e637 commit e42cd7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Mojolicious/Plugin/TagHelpers.pm
Expand Up @@ -594,7 +594,8 @@ picked up and shown as default.
%= select_field country => [c(EU => [[Germany => 'de'], 'en'], id => 'eu')]
%= select_field country => [[Germany => 'de', class => 'eu'], 'en']
Generate select, option and optgroup elements. Previous input values will
Generate select and option elements from array references and optgroup
elements from L<Mojo::Collection> objects. Previous input values will
automatically get picked up and shown as default.
<select name="country">
Expand Down

0 comments on commit e42cd7d

Please sign in to comment.