Set viewport meta

This commit is contained in:
Claude Paroz 2020-09-11 18:35:57 +02:00
parent 04463e9512
commit 69fc287dc5
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,8 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Recettes {% block title %}page title{% endblock %}</title>
<link rel="stylesheet" href="{% static 'css/main.css' %}">
{% block extrahead %}

View File

@ -19,7 +19,7 @@ form#search-form p { display: inline-block; margin-right: 1em; }
<form id="search-form" method="POST">{% csrf_token %}
{{ form.as_p }}
<div><button>Rechercher</button></div>
<div><button type="submit">Rechercher</button></div>
</form>
{% if num_results is not None %}