{% extends 'rcallocation/allocationrequest_detail_base.html' %} {% block detail_actions %} {% if allocation.can_user_edit %} Edit request {% elif allocation.can_user_edit_amendment %} Edit change request {% elif allocation.can_be_amended %} Request amendment {% endif %} {% endblock %}