25 lines
940 B
HTML
25 lines
940 B
HTML
{% extends 'base.html' %}
|
|
{% block title %}Dodaj wpłatę{% endblock %}
|
|
{% block content %}
|
|
<div class="container my-4">
|
|
<div class="card shadow-sm">
|
|
<div class="card-header bg-warning text-dark">
|
|
<h3 class="card-title mb-0">Dodaj wpłatę do zbiórki: {{ zbiorka.nazwa }}</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
<form method="post">
|
|
<div class="mb-3">
|
|
<label for="kwota" class="form-label">Kwota wpłaty (PLN)</label>
|
|
<input type="number" step="0.01" class="form-control" id="kwota" name="kwota" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="opis" class="form-label">Opis wpłaty (opcjonalnie)</label>
|
|
<textarea class="form-control" id="opis" name="opis" rows="3"></textarea>
|
|
</div>
|
|
<button type="submit" class="btn btn-success">Dodaj wpłatę</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|