label printing button

d42/ebin
vuko 2017-10-22 23:43:21 +02:00
parent 887e6949c0
commit e9112f8d3a
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@
{% if labels %} {% if labels %}
<h3>Labels</h3> <h3>Labels</h3>
{% for label in labels %} {% for label in labels %}
<span class="label label-default">{{ label.id }} <small>({{ label.revision }})</small></span> <form action="http://label.waw.hackerspace.pl:4567/api/1/print/{{ label.id }}" method='post'>
<input type="submit" value="{{label.id}}">
</form>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</div> </div>