     {% if leave_request.status != 'cancelled'%}
      <td>
        <a href="{% url 'request-update' leave_request.id  %}" class="btn btn-warning">{% trans "Update" %}</a>
      </td>
      {% endif %}
      <td>
        <a href="{% url 'request-delete' leave_request.id  %}" class="btn btn-danger">{% trans "Delete" %}</a>
      </td>
    </tr>
    {% endfor %}
  </tbody>
</table>
{% endblock %}
