a057bd6464
* rework economy stuff, add revenue model, unfinished code! * part 2 of economy overhaul. add views for dealing with revenue. rework expense views.
17 lines
602 B
HTML
17 lines
602 B
HTML
{% extends 'base.html' %}
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}
|
|
{% if object %}Update{% else %}Create{% endif %} Expense | {{ block.super }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h3>{% if object %}Update{% else %}Create{% endif %} {{ camp.title }} Expense</h3>
|
|
<form method="post" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
<button class="btn btn-success" type="submit"><i class="fas fa-plus"></i> Save</button>
|
|
<a href="{% url 'economy:expense_list' camp_slug=camp.slug %}" class="btn btn-primary"><i class="fas fa-undo"></i> Cancel</a>
|
|
</form>
|
|
{% endblock %}
|