Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- |── core
- | |── static
- | | |── core
- | | | └── styles.css
- | |
- | |── templates
- | | |── core
- | | | |── base.html
- | | | └─── ...
- |
- |── coupons
- | |── templates
- | | |── coupons
- | | | └── coupon_list.html
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- {% load static %}
- <link rel="stylesheet" href="{% static 'core/css/styles.css' %}">
- <title>WebsiteOfQuotas</title>
- </head>
- <body>
- <nav>
- <ul>
- <li><a href="{% url 'home' %}">Home</a></li>
- <li><a href="">About</a></li>
- <li><a href="{% url 'coupons:list' %}">Coupons</a></li>
- </ul>
- </nav>
- {% block content %}{% endblock %}
- <footer>
- ¡Somos el equipo de WebsiteOfCoupons, para mas informacion contactanos por Gmail en supportWOC@gmail.com!
- </footer>
- </body>
- </html>
- {% extends 'core/base.html' %}
- {% block content %}
- <main>
- {% for coupon in coupon_list %}
- <div class='column'>
- <h2>{{ coupon.title }}</h2>
- <p>{{ coupon.price }}</p>
- <p>{{ coupon.description }}</p>
- </div>
- {% endfor %}
- </main>
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement