diff --git a/index.php b/index.php
index afbc3f0..3931567 100644
--- a/index.php
+++ b/index.php
@@ -31,7 +31,7 @@
{
padding: 0;
}
- input[type=file], input[list=list_tags]
+ input[type=file], input[list=list_tags], input[type=url]
{
margin-left: 10ch;
}
@@ -209,10 +209,9 @@
-
-
-
+ (One receipt per field or comma separated)
+
+
(optional)
@@ -276,6 +275,19 @@
form.insertBefore(input_text, btn);
input_text.focus();
}
+
+ function add_input_receipt()
+ {
+ const input_text = document.createElement("input");
+ input_text.setAttribute("type", "url");
+ input_text.setAttribute("name", "receipts[]");
+
+ const form = document.getElementById("form_add");
+ const btn = document.getElementById("add_receipt");
+ form.insertBefore(document.createElement("br"), btn);
+ form.insertBefore(input_text, btn);
+ input_text.focus();
+ }