Merge branch 'develop' of https://github.com/vabene1111/recipes into develop

This commit is contained in:
vabene1111
2019-11-14 00:00:47 +01:00
3 changed files with 4 additions and 11 deletions

View File

@@ -5,6 +5,9 @@
<head>
<title>{% block title %}
{% endblock %}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script

View File

@@ -10,9 +10,7 @@
<div class="table-container">
<h3>{{ title }} {% trans 'List' %}
{% if create_url %}
<a href="{% url create_url %}">
<button class="btn btn-primary float-right">{% trans 'New' %} <i class="fal fa-plus-circle"></i>
</button>
<a href="{% url create_url %}"> <i class="fal fa-plus-circle"></i>
</a>
{% endif %}
</h3>

View File

@@ -6,14 +6,6 @@
<div class="table-container">
{% if create_url %}
<a href="{% url create_url %}">
<button class="btn btn-primary float-right">{% trans 'New' %} <i class="fal fa-plus-circle"></i>
</button>
</a>
{% endif %}
</h3>
{% block table %}
<table {% render_attrs table.attrs class="table" %}>
{% block table.thead %}