move counter to global
remove inputs from template and move all generation of inputs to js script
This commit is contained in:
parent
bb7bc37a3e
commit
86b1ccb3de
2 changed files with 5 additions and 10 deletions
|
|
@ -37,14 +37,7 @@
|
|||
<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>
|
||||
<td><input type="text" class="form-control" name="Vendor-1" placeholder="Vendor"></td>
|
||||
<td><input type="text" class="form-control" name="Confirmation Code-1" placeholder="Confirmation Code"></td>
|
||||
<td><input type="text" class="form-control" name="Note-1" placeholder="Note"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="table-body"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<button type="button" class="btn btn-primary" id="add-line-button">Add Another Line?</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue