Skip to content

Commit

Permalink
feat(single_history): add edit links to single history page (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
drahamim authored Oct 16, 2024
1 parent dbefe80 commit 3296f9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/invenflask/templates/single_history.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% block content %}
{% if hist_type == 'staff' %}
<h1>Staff History</h1>

<button type="button" class="btn btn-secondary my-2 my-sm-0" onclick=location.href="{{ url_for('staff_edit', staff_id=item_info.id) }}">Edit Staff</button>
<table id="Staff" class="table table-striped">
<thead>
<tr>
Expand Down Expand Up @@ -69,7 +69,8 @@ <h4>History</h4>
{% else %}


<h1> Asset History </h1>
<h1> Asset History </h1>
<button type="button" class="btn btn-secondary my-2 my-sm-0" onclick=location.href="{{ url_for('asset_edit', asset_id=item_info.id) }}">Edit Asset</button>
<table id="Assets" class="table table-striped">
<thead>
<tr>
Expand Down

0 comments on commit 3296f9d

Please sign in to comment.