{% extends 'base.html' %}
{% block content %}
<form action="" method="post" id="form">       
    <div class="panel panel-default form">
        <div class="panel-heading">Adicionar série de TV</div>
        <div class="panel-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label>Nome:</label>
                        <input type="text" name="serie-name" id="id_serie-name">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <button type="submit" class="btn btn-primary">Salvar</button>
</form>
{% endblock %}
{% extends 'base.html' %}
{% block content %}
<form action="" method="post" id="form">       
    <div class="panel panel-default form">
        <div class="panel-heading">Adicionar série de TV</div>
        <div class="panel-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label>Nome:</label>
                        <input type="text" name="serie-name" id="id_serie-name">
                    </div>
                    <div class="form-group">
                        <label>Descrição:</label>
                        <input type="text" name="serie-description" id="id_serie-description">
                    </div>
                    <div class="form-group">
                        <label>Autor:</label>
                        <input type="text" name="serie-author" id="id_serie-author">
                    </div>
                    <div class="form-group">
                        <label>Número de episódios:</label>
                        <input type="text" name="serie-episodes_number" id="id_serie-episodes_number">
                    </div>                    
                </div>
            </div>
        </div>
    </div>
    <button type="submit" class="btn btn-primary">Salvar</button>
</form>
{% endblock %}
Add fields on template to persist data on database
Add fields on template to persist data on database
