Files
project-managment/templates/pages/finance/expense_form.html
T
sankalp 0537ea5e5e feat(templates): enrichUI with Tailwind styling and messaging component improvements
- 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
2026-05-28 00:51:41 +05:45

21 lines
955 B
HTML

{% extends "base_authenticated.html" %}
{% block title %}New Expense{% endblock %}
{% block content_inner %}
<div class="max-w-lg mx-auto">
<div class="card-surface p-6">
<h1 class="text-xl font-bold text-primary mb-1">New Expense</h1>
<p class="text-sm text-tertiary mb-6">Log a new project expense.</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-3 py-1.5 rounded-lg text-sm font-medium bg-blue-600 text-white hover:bg-blue-700 transition-colors">Submit</button>
<a href="{% url 'expense_list' %}" class="px-3 py-1.5 rounded-lg text-sm font-medium text-secondary hover:bg-hover border border-soft transition-colors">Cancel</a>
</div>
</form>
</div>
</div>
{% endblock %}