replace the edit button with an edit icon
This commit is contained in:
parent
94ecbd54f9
commit
83d4ea4f9e
|
@ -1,13 +1,6 @@
|
|||
{% extends "core/base.html" %}
|
||||
{% block section_title %}{{ device.name }}{% endblock %}
|
||||
{% block content %}
|
||||
<div class="row mb-3">
|
||||
<div class="col">
|
||||
<form action="{% url 'device_update' pk %}">
|
||||
<input type="submit" value="Edit Device" class="btn btn-primary">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col mt-3">
|
||||
{% block device_details %}
|
||||
|
|
|
@ -37,5 +37,6 @@
|
|||
<td>{{ device.installation_date }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<a href="{% url 'device_update' pk %}" class="edit" title="Edit" data-toggle="tooltip"><i class="material-icons">edit</i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue