- Add custom border, background, and spacing utilities to base template - Enhance message notification styling and layout - Update delete modal button appearance and behavior - Refine comment card component with Tailwind classes and responsive behavior - Adjust sidebar responsiveness for mobile view
20 lines
966 B
HTML
20 lines
966 B
HTML
{% extends "base_authenticated.html" %}
|
|
{% block title %}Record Payment{% endblock %}
|
|
{% block content_inner %}
|
|
<div class="max-w-lg mx-auto">
|
|
<div class="card-surface p-6">
|
|
<h1 class="text-lg font-bold text-primary mb-1">Record Payment</h1>
|
|
<p class="text-sm text-tertiary mb-6">Record a payment against an invoice.</p>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{% for field in form %}
|
|
{% include "partials/form_field.html" %}
|
|
{% endfor %}
|
|
<div class="flex gap-3 pt-2">
|
|
<button type="submit" class="px-4 py-2 rounded-lg bg-blue-600 text-white text-sm font-medium hover:bg-blue-700 transition-colors">Record</button>
|
|
<a href="{% url 'invoice_list' %}" class="px-4 py-2 rounded-lg border border-soft text-sm font-medium text-secondary hover:bg-hover transition-colors">Cancel</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |