app/soc/templates/soc/site/user/profile/edit.html
changeset 132 15d89c284106
child 170 1fadf6e0348d
equal deleted inserted replaced
131:3db97cf7f2c7 132:15d89c284106
       
     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 %}
       
    17  {% if linkname_user %}
       
    18   Developer: Modify Existing User Profile
       
    19  {% else %}
       
    20   Developer: Create New User Profile
       
    21  {% endif %}
       
    22 {% endblock %}
       
    23 {% block header_title %}
       
    24  {% if linkname_user %}
       
    25   Modify Existing User Profile for {{ linkname_user.nick_name }}
       
    26    <a href="mailto:{{ linkname_user.id }} ">&lt;{{ linkname_user.id }}&gt;</a>
       
    27  {% else %}
       
    28   Create a New User Profile
       
    29  {% endif %}
       
    30 {% endblock %}
       
    31 {% block body %}
       
    32 <p>
       
    33 <p>
       
    34 {% block instructions %}
       
    35 Please use this form to alter basic site-wide settings for a User in Google Open Source Programs.
       
    36 {% endblock %}
       
    37 </p>
       
    38 <form method="POST">
       
    39  <table>
       
    40   {% field_as_table_row form.id %}
       
    41   {% field_as_table_row form.link_name %}
       
    42   <tr>
       
    43    <td> 
       
    44     <input type="submit" style="font-weight: bold" name="lookup" value="Look up User"/></span>
       
    45    </td>
       
    46    <td>&nbsp;</td>
       
    47    <td>&nbsp;</td>
       
    48    <td>
       
    49     {% if lookup_message %}<b><i>{{ lookup_message }}</i></b>{% endif %}
       
    50    </td>
       
    51   <tr><td colspan="4">&nbsp;</td></tr>
       
    52   </tr>
       
    53   {% field_as_table_row form.nick_name %}
       
    54   <tr>
       
    55    <td> 
       
    56     <input type="submit" style="font-weight: bold" name="save" value="Save Changes"/></span>
       
    57    </td>
       
    58    <td>
       
    59     <input type="button" onclick="location.href='/'" value="Cancel"/>
       
    60    </td>
       
    61    <td>
       
    62     {% if submit_message %}<b><i>{{ submit_message }}</i></b>{% endif %}
       
    63    </td>
       
    64   </tr>
       
    65  </table>
       
    66 </form>
       
    67 </p>
       
    68 {% endblock %}