{% extends "base.html" %} {% block title %}Контакт{% endblock %} <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}"> <title>Contact Us</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> </head> <body> {% block content %} <div class="contact"> <h1>Свяжитесь с нами! </h1> <p>мы будем рады ответить вам!</p> <form action="/send_message" method="post"> <label for="name">Имя:</label> <input type="text" id="name" name="name" required> <label for="email">Почта:</label> <input type="text" id="email" name="email" required> <label for="message">Письмо:</label> <textarea id="message" name="message" rows="4" required></textarea> <a href="/index" class="btn btn-primary">Отправить</a> </form> </div> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> {% endblock %} </body>