{% extends 'base.html' %}

{% block title %}
    News
{% endblock %}

{% block content %}

    <div class="container">

        {% for notice in notices %}
            <h3>{{ notice.notice_title }}</h3>
        <p>{{ notice.notice_text }}</p>
        {% endfor %}

    </div>

{% endblock %}


    <!DOCTYPE html>
<html>
   <head>
      <meta charset="utf-8">
      <title>Navbar Example</title>
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
   </head>
   <body>

      <h4>.navbar .navbar-expand-sm</h4>

      <!-- A horizontal navbar that becomes vertical on small screens -->
      <nav class="navbar navbar-expand-sm bg-dark">
         <!-- Links -->
         <ul class="navbar-nav">
            <li class="nav-item">
               <a class="nav-link" href="http://th-nuernberg.de">efi-homepage</a>
            </li>
            <li class="nav-item">
               <a class="nav-link" href="http://google.de">Google</a>
            </li>
         </ul>
      </nav>

      <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
      <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
   </body>
</html>
    <h1> Index der Polls-Applikation</h1>
