{% extends 'common/base.html' %} {% load bootstrap3 %} {% block content %} {% if view.url_names.create %}
Name | {% endblock %}Actions |
---|---|
{{ object.name }} | {% endblock %}
{% bootstrap_icon "edit" %}
{% if view.url_names.delete %}
{% comment %}If we need it to work without javascript, GET on delete url will show confirmation form which will have POST method and confirm button{% endcomment %}
{% bootstrap_icon "trash" %}
{% endif %}
|