Skip to content

Commit

Permalink
fixed templates
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Jan 17, 2021
1 parent 3f28ec3 commit 9aabb98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/masonite/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__title__ = "masonite"
__description__ = "The core for the Masonite framework"
__url__ = "https://github.com/MasoniteFramework/masonite"
__version__ = "3.0.2"
__version__ = "3.0.3"
__author__ = "Joseph Mancuso"
__author_email__ = "joe@masoniteproject.com"
__licence__ = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/masonite/snippets/auth/templates/auth/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h5 class="mb-0">Login</h5>
</div>
<div class="card-body">
{% if bag().any() %}
{% for error in bag().messages() %}
{% for error in bag().get_errors() %}
<div class="alert alert-danger" role="alert">
{{ error }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/masonite/snippets/auth/templates/auth/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h5 class="mb-0">Register</h5>
</div>
<div class="card-body">
{% if bag().any() %}
{% for error in bag().messages() %}
{% for error in bag().get_errors() %}
<div class="alert alert-danger" role="alert">
{{ error }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/masonite/snippets/auth/templates/auth/reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h5 class="mb-0">Reset Password</h5>
</div>
<div class="card-body">
{% if bag().any() %}
{% for error in bag().messages() %}
{% for error in bag().get_errors() %}
<div class="alert alert-danger" role="alert">
{{ error }}
</div>
Expand Down

0 comments on commit 9aabb98

Please sign in to comment.