{% extends "base.html" %}{% block title %}Nouvelle demande{% endblock %}{% block content %}<div class="container"><h1 class="h3">Nouvelle demande de travaux</h1><form method="post" class="card card-body"><input type="hidden" name="csrf_token" value="{{ csrf_token() }}"><label>Titre</label><input class="form-control mb-2" name="title" required><label>Description</label><textarea class="form-control mb-2" name="description" required></textarea><label>Réalisation</label><select class="form-select mb-2" name="execution_mode"><option value="interne">Moi-même</option><option value="devis">Entreprise avec devis</option><option value="departement">Département</option></select><label>Équipement</label><select class="form-select mb-3" name="equipment_id"><option value="">—</option>{% for e in equipments %}<option value="{{ e.id }}">{{ e.name }}</option>{% endfor %}</select><button class="btn btn-primary">Créer la demande</button></form></div>{% endblock %}
