blob: ca318a512b131f0ab507f3e142e685b6d676a1a3 [file] [log] [blame]
{% extends "modules/gci/form_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 %}
{% block stylesheets %}
{{ block.super }}
<link rel="stylesheet" type="text/css" media="screen" href="/{{ css_path }}/dd.css" />
{% endblock stylesheets %}
{% block formsave_msg %}
{% if posted %}
<div class="block block-user-message">
{% if error %}
<p>Sorry, we could not save your profile. Please fix the errors mentioned below.</p>
{% else %}
<p>Profile saved successfully. {{ form_instructions|safe }}</p>
{% endif %}
</div>
{% endif %}
{% endblock formsave_msg %}
{% block form_button %}
{{ block.super }}
{% if edit_profile %}
<input value="Delete Account" class="delete-btn" type="submit" name="delete_account">
{% endif %}
{% endblock form_button %}
{% block dependencies %}
[
dep.uniform,
dep.jqueryui,
dep.dd,
null,
tc("/soc/content/{{ app_version }}/js/templates/modules/gci/profile/base.js"),
tc("/soc/content/{{ app_version }}/js/templates/modules/gci/avatar.js", {
'prefix_path': "/soc/content/{{ app_version }}/images/gci/avatars/"
})
]
{% endblock dependencies %}