Fix home page upload to use json api instead of seperate upload code
This commit is contained in:
parent
00b0687136
commit
a097db2017
6 changed files with 27 additions and 115 deletions
|
@ -7,7 +7,7 @@
|
|||
<h3 class="card-header">Submit Receipt</h3>
|
||||
<div class="card-block">
|
||||
<form id="receipt-form" action="<%= url_for '/portal/upload' %>">
|
||||
<input type="hidden" name="transaction_type" value="3" hidden>
|
||||
<input id="tran-type" type="hidden" name="transaction_type" value="3" hidden>
|
||||
<div class="form-group">
|
||||
<label for="org-name">Organisation Name</label>
|
||||
<input id="org-name" type="text" class="form-control" name="organisation_name" placeholder="Organisation Name" required>
|
||||
|
|
Reference in a new issue