{% extends 'base.html' %}

{% block content %}
    <div class="container">
        <form action="{% url 'author_create' %}" method="POST">
        {% csrf_token %}
        <div class="mb-3">
            {{ form.errors }}
          <label for="formGroupExampleInput" class="form-label">{{ form.name.label }}</label>
          <input type="text" class="form-control" name="{{ form.name.name }}" id="formGroupExampleInput" placeholder="Введите имя автора">
        </div>
        <input type="submit">
    </form>
    </div>
{% endblock %}