{% extends "tienda/base.html" %}
{% load static %}

{% block content %}
<div class="row justify-content-center mt-5">
  <div class="col-md-6 col-lg-5">
    <div class="card">
      <div class="card-header">
        <h3 class="text-center mb-0">Crear Cuenta</h3>
      </div>
      <div class="card-body">
        <form method="post" action="{% url 'register' %}">
          {% csrf_token %}
          
          {{ form }}
          
          <div class="d-grid gap-2">
            <button type="submit" class="btn btn-primary">Crear Cuenta</button>
          </div>
          
          <hr class="my-3">
          
          <div class="text-center">
            <p class="mb-0">¿Ya tienes cuenta? <a href="{% url 'login' %}">Inicia sesión aquí</a></p>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
{% endblock %}
