diff --git a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/layout.html b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/layout.html
index 6ebc830e9843dd511657ff8368c287d6b2f25e4a..b0a83de9c39816fff792f966ed1ba31b5d6bbd6a 100644
--- a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/layout.html
+++ b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/layout.html
@@ -36,7 +36,6 @@
 <main role="main">
 {% with messages = get_flashed_messages(with_categories=true) %}
 {% if messages %}
-    <div class="container">
         <div class="row">
           <div class="col-md-12">
             {% for category, message in messages %}
@@ -47,7 +46,6 @@
             {% endfor %}
           </div><!-- end col-md -->
         </div><!-- end row -->
-    </div>
 {% endif %}
 {% endwith %}