Skip to content

Commit

Permalink
fix example in SYNOPSIS section of documentation
Browse files Browse the repository at this point in the history
the template "user.html.ep" in the SYNOPSIS example fires the error:

   syntax error at template ... near "+  if"
  • Loading branch information
joenio committed Oct 23, 2015
1 parent aa49850 commit 9f36efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Plugin/ValidateTiny.pm
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Mojolicious::Plugin::ValidateTiny - Lightweight validator for Mojolicious
__DATA__
@@ user.html.ep
%= if (validator_has_errors) {
% if (validator_has_errors) {
<div class="error">Please, correct the errors below.</div>
% }
%= form_for 'user' => begin
Expand Down

0 comments on commit 9f36efc

Please sign in to comment.