2021-12-03 04:52:09 +01:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% load static %}
|
|
|
|
{% block content %}
|
2021-12-03 05:57:06 +01:00
|
|
|
<a href="/b/submit" class="btn-add">+</a>
|
2021-12-03 04:52:09 +01:00
|
|
|
<section>
|
|
|
|
<h1>Bateaux</h1>
|
|
|
|
<div class="flex-card">
|
|
|
|
{% for boat in boats %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="inner">
|
|
|
|
<div class="img-container">
|
|
|
|
<img src="{% static 'images/sauvetage.png' %}">
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<p class="titre">{{ boat.name }}</p>
|
|
|
|
<a class="btn" href="/b/{{ boat.pk }}/">Voir le bateau</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<a class="btn btn--blue" href="">Charger plus de bateaux</a>
|
|
|
|
</section>
|
|
|
|
{% include 'quicksearch.html' %}
|
|
|
|
{% endblock %}
|