Navigation Menu

Skip to content

Commit

Permalink
better text_area examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 28, 2012
1 parent 6162db5 commit c5e7842
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@

3.64 2012-11-29
- Improved documentation.

3.63 2012-11-28
- Added support for smooth restarting to Morbo.
- Added acceptor method to Mojo::IOLoop.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -38,7 +38,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Rainbow';
our $VERSION = '3.63';
our $VERSION = '3.64';

sub AUTOLOAD {
my $self = shift;
Expand Down
6 changes: 4 additions & 2 deletions lib/Mojolicious/Plugin/TagHelpers.pm
Expand Up @@ -558,17 +558,19 @@ picked up and shown as default.
=head2 C<text_area>
%= text_area 'foo'
%= text_area 'foo', cols => 40
%= text_area foo => 'Default!', cols => 40
%= text_area foo => begin
%= text_area foo => (cols => 40) => begin
Default!
% end
Generate textarea element. Previous input values will automatically get picked
up and shown as default.
<textarea name="foo"></textarea>
<textarea cols="40" name="foo"></textarea>
<textarea cols="40" name="foo">Default!</textarea>
<textarea name="foo">
<textarea cols="40" name="foo">
Default!
</textarea>
Expand Down

0 comments on commit c5e7842

Please sign in to comment.