app/soc/templates/soc/user/edit_self.html
changeset 446 0b479d573a4c
child 481 94834a1e6c01
equal deleted inserted replaced
445:31927f21970d 446:0b479d573a4c
       
     1 {% extends "soc/base.html" %}
       
     2 {% comment %}
       
     3 Licensed under the Apache License, Version 2.0 (the "License");
       
     4 you may not use this file except in compliance with the License.
       
     5 You may obtain a copy of the License at
       
     6 
       
     7   http://www.apache.org/licenses/LICENSE-2.0
       
     8 
       
     9 Unless required by applicable law or agreed to in writing, software
       
    10 distributed under the License is distributed on an "AS IS" BASIS,
       
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    12 See the License for the specific language governing permissions and
       
    13 limitations under the License.
       
    14 {% endcomment %}
       
    15 {% load forms_helpers %}
       
    16 {% block page_title %}User Profile{% endblock %}
       
    17 {% block header_title %}
       
    18 {% if user %}
       
    19 Modify Existing User Profile for {{ user.nick_name }} <a href="mailto:{{ id.email }} ">&lt;{{ id.email }}&gt;</a>
       
    20 {% else %}
       
    21 Create a New User Profile for <a href="mailto:{{ id.email }} ">&lt;{{ id.email }}&gt;</a>
       
    22 {% endif %}
       
    23 {% endblock %}
       
    24 {% block body %}
       
    25 <p>
       
    26 <p>
       
    27 {% block instructions %}
       
    28 Please use this form to set basic site-wide settings for your participation in Google Open Source Programs.
       
    29 {% endblock %}
       
    30 </p>
       
    31 <form method="POST">
       
    32  <table>
       
    33   {% field_as_table_row form.nick_name %}
       
    34   {% field_as_table_row form.link_name %}
       
    35   <tr>
       
    36    <td colspan="4">&nbsp;</td>
       
    37   </tr>
       
    38   </table>
       
    39   <table>
       
    40   <tr>
       
    41     {% block submit_buttons %}
       
    42    <td> 
       
    43     <input style="font-weight: bold" type="submit" value="Save Changes"/></span>
       
    44    </td>
       
    45    <td>
       
    46     <input type="button" onclick="location.href='/'" value="Cancel"/>
       
    47    </td>
       
    48     {% endblock %}
       
    49   </tr>
       
    50  </table>
       
    51 </form>
       
    52 </p>
       
    53 {% endblock %}