Skip to content

Firefly III: a personal finances manager

Enable edit function

James Colefde53abb1a79
diff --git a/resources/views/v2/transactions/edit.twig b/resources/views/v2/transactions/edit.twig
new file mode 100644
index 0000000000..879ed288fe
--- /dev/null
+++ b/resources/views/v2/transactions/edit.twig
@@ -0,0 +1,23 @@
+{% extends './v2/layout/default' %}
+{% block breadcrumbs %}
+ {{ Breadcrumbs.render }}
+{% endblock %}
+{% block content %}
+ <!-- Small boxes (Stat box) -->
+
+ <!-- Main row -->
+ <div id="transactions_edit"></div>
+ <!-- /.row (main row) -->
+{% endblock %}
+
+{% block styles %}
+
+{% endblock %}
+
+{% block scripts %}
+ <script type="text/javascript">
+ // this is a terrible hack.
+ var previousURL = '{{ previousUri }}';
+ </script>
+ <script src="v2/js/transactions/edit.js" nonce="{{ JS_NONCE }}"></script>
+{% endblock %}