It should include:
- A form with fields: title (text), amount (number), and type (dropdown: Income or Expense).
- A submit button labeled “Save Transaction”.
- A back button or link to go back to `{% url 'dashboard' %}`.
- Center everything in a small white card with shadow.
Create a simple Tailwind HTML page called dashboard.html for a Django project.
It should display:
- A welcome text showing “Welcome, {{ request.user.username }}”
- A table or list showing transactions (title, type, amount).
- A button labeled “Add Transaction” that links to `{% url 'add_transaction' %}`.
- A Logout button that links to `{% url 'logout' %}`.
- Clean, easy-to-read layout (not too professional, just clear).
Create a simple Tailwind HTML page called login.html for a Django project.
It should include:
- A form with username and password fields.
- A submit button labeled “Login”.
- A link saying “Don’t have an account? Register” linking to `{% url 'register' %}`.
- Center the form on the page with a neat minimal design.