app/soc/templates/soc/user/edit.html
changeset 481 94834a1e6c01
parent 446 0b479d573a4c
child 482 839740b061ad
equal deleted inserted replaced
480:9b07ddeb1412 481:94834a1e6c01
    15 {% load forms_helpers %}
    15 {% load forms_helpers %}
    16 {% block header_title %}
    16 {% block header_title %}
    17  {{ page.short_name }}
    17  {{ page.short_name }}
    18  {% if existing_user %}
    18  {% if existing_user %}
    19 for {{ existing_user.nick_name }}
    19 for {{ existing_user.nick_name }}
    20 <a href="mailto:{{ existing_user.id.email }} ">&lt;{{ existing_user.id.email }}&gt;</a>
    20 <a href="mailto:{{ existing_user.account.email }} ">&lt;{{ existing_user.account.email }}&gt;</a>
    21  {% endif %}
    21  {% endif %}
    22 {% endblock %}
    22 {% endblock %}
    23 {% block body %}
    23 {% block body %}
    24 <p>
    24 <p>
    25 <p>
    25 <p>
    29 </p>
    29 </p>
    30 <form method="POST">
    30 <form method="POST">
    31   {{ form.key_name }}
    31   {{ form.key_name }}
    32  <table>
    32  <table>
    33   {% if existing_user %}
    33   {% if existing_user %}
    34   {% readonly_field_as_table_row "Id" existing_user.id %}
    34   {% readonly_field_as_table_row "Account" existing_user.account %}
    35   {% endif %}
    35   {% endif %}
    36   {% field_as_table_row form.id %}
    36   {% field_as_table_row form.account %}
    37 {% if lookup_error %}
    37 {% if lookup_error %}
    38 <tr>
    38 <tr>
    39  <td>&nbsp;</td>
    39  <td>&nbsp;</td>
    40  <td colspan="3" class="formfielderror">
    40  <td colspan="3" class="formfielderror">
    41   {{ lookup_error }}
    41   {{ lookup_error }}
    43 </tr>
    43 </tr>
    44 {% endif %}
    44 {% endif %}
    45   {% field_as_table_row form.link_name %}
    45   {% field_as_table_row form.link_name %}
    46   {% field_as_table_row form.nick_name %}
    46   {% field_as_table_row form.nick_name %}
    47   {% field_as_table_row form.is_developer %}
    47   {% field_as_table_row form.is_developer %}
    48   {% if existing_user.former_ids %}
    48   {% if existing_user.former_accounts %}
    49   <tr>
    49   <tr>
    50    <td class="formfieldlabel">Former ids</td>
    50    <td class="formfieldlabel">Former Accounts</td>
    51    <td>
    51    <td>
    52        {% for former_id in existing_user.former_ids %}
    52        {% for former_account in existing_user.former_accounts %}
    53        {{ former_id }}<br />
    53        {{ former_account }}<br />
    54        {% endfor %}
    54        {% endfor %}
    55    </td>
    55    </td>
    56    <td class="formfieldrequired">&nbsp;</td>
    56    <td class="formfieldrequired">&nbsp;</td>
    57    <td class="formfieldhelptext">&nbsp;</td>
    57    <td class="formfieldhelptext">&nbsp;</td>
    58   </tr>
    58   </tr>