Commits

Armin Ronacher  committed 61d43c7

Removed unnecessary end-tags and fixed some broken html

  • Participants
  • Parent commits 823bebf

Comments (0)

Files changed (5)

File examples/blueprintexample/simple_page/templates/pages/hello.html

 {% extends "pages/layout.html" %}
 
 {% block body %}
-    Hello
-{% endblock %}
+  Hello
+{% endblock %}

File examples/blueprintexample/simple_page/templates/pages/index.html

 {% extends "pages/layout.html" %}
 
 {% block body %}
-    Blueprint example page
-{% endblock %}
+  Blueprint example page
+{% endblock %}

File examples/blueprintexample/simple_page/templates/pages/layout.html

 <div class=page>
   <h1>This is blueprint example</h1>
   <p>
-      A simple page blueprint is registered under / and /pages<br/>
-      you can access it using this urls:
-      <ul>
-          <li><a href="{{ url_for('simple_page.show', page='hello') }}">/hello</a></li>
-          <li><a href="{{ url_for('simple_page.show', page='world') }}">/world</a></li>
-      </ul>
-  </p>
+    A simple page blueprint is registered under / and /pages
+    you can access it using this urls:
+  <ul>
+    <li><a href="{{ url_for('simple_page.show', page='hello') }}">/hello</a>
+    <li><a href="{{ url_for('simple_page.show', page='world') }}">/world</a>
+  </ul>
   <p>
-      Also you can register the same blueprint under another path
-      <ul>
-          <li><a href="/pages/hello">/pages/hello</a></li>
-          <li><a href="/pages/world">/pages/world</a></li>
-      </ul>
-  </p>
-  
+    Also you can register the same blueprint under another path
+  <ul>
+    <li><a href="/pages/hello">/pages/hello</a>
+    <li><a href="/pages/world">/pages/world</a>
+  </ul>
 
-      
-  {% block body %}
-  {% endblock %}
-</div>
+  {% block body %}{% endblock %}
+</div>

File examples/blueprintexample/simple_page/templates/pages/world.html

 {% extends "pages/layout.html" %}
-
 {% block body %}
-    World
-{% endblock %}
+  World
+{% endblock %}

File examples/flaskr/templates/login.html

 {% extends "layout.html" %}
 {% block body %}
   <h2>Login</h2>
-  {% if error %}<p class=error><strong>Error:</strong> {{ error }}</p>{% endif %}
+  {% if error %}<p class=error><strong>Error:</strong> {{ error }}{% endif %}
   <form action="{{ url_for('login') }}" method=post>
     <dl>
       <dt>Username: