add hidden inputs to carry parent id and date
This commit is contained in:
parent
da820c3500
commit
251c28be39
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@
|
|||
<form action="{{ url_for('split_line_endpoint') }}" method="POST">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered">
|
||||
<input type="hidden" name="parent-id" value="{{li.id}}"/>
|
||||
<input type="hidden" name="date" value="{{li.date}}"/>
|
||||
<tbody id="table-body">
|
||||
<tr>
|
||||
<td><input type="text" class="form-control" name="Amount-1" placeholder="Amount"></td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue