Skip to content

Commit

Permalink
fix(edit_asset): show current status (#55)
Browse files Browse the repository at this point in the history
* fix(edit_asset): make status consisstent in db
  • Loading branch information
drahamim authored May 26, 2023
1 parent 7a6ee96 commit c4eeec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/invenflask/templates/edit_asset.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ <h1>{% block title %} Edit {{ asset.id }} {% endblock %}</h1>
{% endfor %}
</select>
<br>
<label for="status">Asset Status</label>
<label for="status">Asset Status {{asset.asset_status}} </label>
<br>
<select id="asset_status" name="asset_status">
<option value="Available">Available</option>
<option value="Good">Good</option>
<option value="Damaged">Damaged</option>
<option value="Checkedout">Checked Out</option>
<option value="checkedout">Checked Out</option>
</select>
<br>
<button type="submit" class="btn btn-primary btn-lg">Submit</button>
Expand Down

0 comments on commit c4eeec0

Please sign in to comment.