{% extends "soc/group/edit.html" %}
{% comment %}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}
{% block submit_buttons %}
{{ block.super }}
{% if entity %}
<td>
 <input type="button" onclick="location.href='/{{ entity_type_short|lower }}/delete/{{ entity.link_name }}'" value="Delete"/>
</td>
{% endif %}
{% endblock %}
{% block body %}
{{ block.super }}
{% if entity %}
<p><a href="/{{ entity_type_short|lower }}/show/{{ entity.link_name }}">View Sponsor Public Profile</a></p>
{% endif %}
{% endblock %}