index.html 419 B

12345678910111213141516
  1. {% extends 'base.html' %}
  2. {% block title %}Frog{% endblock %}
  3. {% block content %}
  4. {% with messages=get_flashed_messages() %}
  5. {% if messages %}
  6. {% for message in messages %}
  7. <div style='color:green;background-color:lightgreen;padding:10px;'>{{ message }}</div>
  8. {% endfor %}
  9. {% endif %}
  10. {% endwith %}
  11. <h1>hello world!</h1>
  12. {% endblock %}