Skip to content

Commit

Permalink
mention data attribute handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 23, 2015
1 parent 2076669 commit 30f98c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.73 2015-01-22
5.73 2015-01-24
- Deprecated Mojolicious::Routes::Route::bridge in favor of
Mojolicious::Routes::Route::under.
- Deprecated Mojolicious::Controller::render_exception in favor of
Expand Down
7 changes: 4 additions & 3 deletions lib/Mojolicious/Plugin/TagHelpers.pm
Expand Up @@ -249,8 +249,8 @@ necessary attributes always be generated automatically.
<%= radio_button country => 'uk' %> UK
For fields that failed validation with L<Mojolicious::Controller/"validation">
the C<field-with-error> class will be automatically added through the
C<tag_with_error> helper, to make styling with CSS easier.
the C<field-with-error> class will be automatically added through
L</"tag_with_error">, to make styling with CSS easier.
<input class="field-with-error" name="age" type="text" value="250">
Expand Down Expand Up @@ -641,7 +641,8 @@ Alias for L</"tag">.
% end
<%= tag div => (id => 'foo') => begin %>test & 123<% end %>
HTML tag generator.
HTML tag generator, the C<data> attribute may contain a hash reference with
pairs to generate attributes from.
<br>
<div></div>
Expand Down

0 comments on commit 30f98c5

Please sign in to comment.