<form action="" method="POST">
    <input type="hidden" value="{federation_invited}" name="federation_invited">
    <table width="519" border="0" cellpadding="0" cellspacing="1">
        <tr>
            <td class="c" colspan="3">{fl_fleet_union}</td>
        </tr>
        <tr>
            <th colspan="3">
                <div style="text-align:left">
                    {fl_fleet_union_name} <input name="name_acs" type="text" id="txt_name_acs" value="{acs_code}" minlength="3" maxlength="20"/> 
                    <a href="#" onclick="document.getElementById('search').style.display = 'block';">{fl_search_user}</a>
                </div>
            </th>
        </tr>
        <tr>
            <th width="150px">
                {fl_friends_list}
                <br />
                <select size="5" style="width:150px;" name="friends_list">
                    {buddies_list}
                    <option value="{value}">{title}</option>
                    {/buddies_list}
                </select>
            </th>
            <th>
                <input type="submit" value="{fl_invite_acs}" name="add">
                <input type="submit" value="{fl_remove_acs}" name="remove">
            </th>
            <th width="150px">
                {fl_union_members} ({invited_count}/5)
                <br />
                <select size="5" style="width:150px;" name="members_list">
                    {members_list}
                    <option value="{value}">{title}</option>
                    {/members_list}
                </select>
            </th>
        </tr>
        <tr>
            <th colspan="3">
                {add_error_messages}
                <div id="search" style="display: none; text-align: left;">
                    {fl_search_user} <input name="addtogroup" type="text" /> <input type="submit" value="{fl_search_user_btn}" name="search"/>
                </div>
            </th>
        </tr>
        <tr>
            <th colspan="3">
                <div style="text-align:right;">
                    <input type="submit" value="{fl_save_all}" name="save"/>
                </div>
            </th>
        </tr>
    </table>
</form>