# HG changeset patch # User Sverre Rabbelier # Date 1226850657 0 # Node ID ec8802961afb751c699a9bdef3491192590d8d21 # Parent 1a7591ff00517a61ec30fd32aa1211098ffa4810 Restored default Sponsor edit view diff -r 1a7591ff0051 -r ec8802961afb app/soc/templates/soc/group/edit.html --- a/app/soc/templates/soc/group/edit.html Sun Nov 16 15:50:29 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,62 +0,0 @@ -{% extends "soc/base.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 %} -{% load forms_helpers %} -{% block scripts %} - -{% endblock %} - -{% block body %} -

-

-{% block instructions %} -Please use this form to alter {{ entity_type }} details. -{% endblock %} -

-
- - {% field_as_table_row form.name %} - {% field_as_table_row form.link_name %} - {% field_as_table_row form.short_name %} - {% if form.created_by %} - {% field_as_table_row form.created_by %} - {% endif %} - {% field_as_table_row form.home_page %} - {% field_as_table_row form.email %} - {% field_as_table_row form.description %} - {% field_as_table_row form.street %} - {% field_as_table_row form.city %} - {% field_as_table_row form.state %} - {% field_as_table_row form.country %} - {% field_as_table_row form.postalcode %} - {% field_as_table_row form.phone %} - - - -
 
-
- - {% block submit_buttons %} - - - {% endblock %} - -
- - - -
-
-

-{% endblock %} diff -r 1a7591ff0051 -r ec8802961afb app/soc/templates/soc/sponsor/edit.html --- a/app/soc/templates/soc/sponsor/edit.html Sun Nov 16 15:50:29 2008 +0000 +++ b/app/soc/templates/soc/sponsor/edit.html Sun Nov 16 15:50:57 2008 +0000 @@ -1,4 +1,4 @@ -{% extends "soc/group/edit.html" %} +{% extends "soc/models/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. @@ -12,17 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. {% endcomment %} + {% block submit_buttons %} {{ block.super }} -{% if entity %} - - - -{% endif %} {% endblock %} -{% block body %} -{{ block.super }} -{% if entity %} -

View Sponsor Public Profile

-{% endif %} -{% endblock %} \ No newline at end of file