Commit b0129ec2 authored by Gabriel G. Garrero's avatar Gabriel G. Garrero

updated url of edit button

parent 0956f154
...@@ -17,15 +17,15 @@ ...@@ -17,15 +17,15 @@
<div class = "details"> <div class = "details">
<h1>{{ object.first_name }} {{ object.middle_name }} {{ object.last_name }}</h1> <h1>{{ object.first_name }} {{ object.middle_name }} {{ object.last_name }}</h1>
<h2> {{ object.department }} </h2> <h2>{{ object.department }}</h2>
<h2> {{ object.department.home_unit }} </h2> <h2>{{ object.department.home_unit }}</h2>
</div> </div>
{% endblock %} {% endblock %}
<a href="{{object.get_absolute_url}}../edit" class="edit-btn"><i class="fa fa-edit"></i>Edit Widget User</a> <a href="{% url 'dashboard:widgetuser-edit' widgetuser.id %}" class="edit-btn"><i class="fa fa-edit"></i>Edit Widget User</a>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment