{assign var="page_title" value="Benutzerwohnort bearbeiten"}
{assign var="page_title_long" value="Mitgliederbereich &raquo; Benutzerwohnorte &raquo; Eintrag bearbeiten"}
{assign var="page_title_site" value="Benutzerwohnort bearbeiten"}

{form_errors error_list=$form_errors}

<form method="post" action="user_locations.php">
    <input type="hidden" name="sid" value="{$SID_SHORT}" />
    <input type="hidden" name="edit" value="1" />
    <input type="hidden" name="step" value="2" />
    <table>
        <tr>
            <td align="right" bgcolor="{$style.bg_a}"><b>Land</b></td>
            <td bgcolor="{$style.bg_a}">
            	<select name="country" class="list_form">
                	<option value="d" label="Deutschland"{if $ul_info.country == 'd'} selected="selected"{/if}>Deutschland</option>
                	<option value="ch" label="Schweiz"{if $ul_info.country == 'ch'} selected="selected"{/if}>Schweiz</option>
                    <option value="at" label="Österreich"{if $ul_info.country == 'at'} selected="selected"{/if}>Österreich</option>
                </select>
            </td>
        </tr>
        <tr>
            <td align="right" bgcolor="{$style.bg_b}"><b>Ort</b></td>
            <td bgcolor="{$style.bg_b}">
                <input type="text" name="town" size="30" maxlength="20" class="input_form" value="{$ul_info.town}" />
            </td>
        </tr>
        <tr>
            <td align="right" bgcolor="{$style.bg_a}"><b>PLZ</b></td>
            <td bgcolor="{$style.bg_a}">
                <input type="text" name="plz" size="30" maxlength="8" class="input_form" value="{$ul_info.plz}" />
            </td>
        </tr>
        <tr>
            <td align="right" bgcolor="{$style.bg_b}"><b>Löschen</b></td>
            <td bgcolor="{$style.bg_b}">
                <input type="submit" value="Eintrag löschen" name="delete_entry" class="button_form" onclick="return confirm_link( this, 'Eintrag wirklich löschen?' )" />
            </td>
        </tr>
    </table>
    <br />
    <input type="submit" value="Weiter" name="send_form" class="button_form" />
</form>