<!-- templates/participants/form.html -->
{% extends "base.html" %}
{% block title %}Añadir grupo · Trafoking{% endblock %}
{% block content %}

<h2 class="text-3xl font-bold mb-6 text-[color:var(--brand-yellow)]">
  Añadir participante
</h2>

<form method="post" class="space-y-4 w-full max-w-md">
  {% csrf_token %}
  {{ form.as_p }}
  <button class="btn btn-primary w-full"> Añadir </button>
</form>

<form method="post" action="{% url 'calculate' %}" class="mt-8">
  {% csrf_token %}
  <button class="btn btn-secondary w-full">
    Calcular&nbsp;y&nbsp;mostrar&nbsp;ranking
  </button>
</form>

{% endblock %}