{% extends 'base.html' %}
{% load static %}

{% block title %}Post Startup - Gatsby{% endblock %}

{% block content %}
<div class="row justify-content-center">
    <div class="col-md-8">
        <div class="card glass-card p-4">
            <h2 class="fw-bold mb-4 text-gradient">Post New Startup</h2>
            <p class="text-secondary">Ready to build the future? Share your vision with the university ecosystem.</p>
            
            <form method="post" class="mt-4">
                {% csrf_token %}
                {% for field in form %}
                    <div class="mb-3">
                        <label class="form-label text-secondary small">{{ field.label }}</label>
                        {{ field }}
                        {% if field.errors %}
                            <div class="text-danger small">{{ field.errors }}</div>
                        {% endif %}
                    </div>
                {% endfor %}
                
                <div class="mt-5">
                    <button type="submit" class="btn btn-primary w-100 py-3 rounded-pill fw-bold">List Startup for Funding</button>
                    <a href="{% url 'portfolio' %}" class="btn btn-link w-100 mt-2 text-secondary">Cancel</a>
                </div>
            </form>
        </div>
    </div>
</div>
{% endblock %}
