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> <!DOCTYPE html>
<html> <html>
<head> <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> <title>Recettes {% block title %}page title{% endblock %}</title>
<link rel="stylesheet" href="{% static 'css/main.css' %}"> <link rel="stylesheet" href="{% static 'css/main.css' %}">
{% block extrahead %} {% 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 id="search-form" method="POST">{% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<div><button>Rechercher</button></div> <div><button type="submit">Rechercher</button></div>
</form> </form>
{% if num_results is not None %} {% if num_results is not None %}