{assign var="page_title" value="WEP bearbeiten"}
{assign var="page_title_long" value="Mitglieder Bereich &raquo; WEPs bearbeiten &raquo; WEP bearbeiten"}
{assign var="page_title_site" value="WEP bearbeiten"}

{form_errors error_list=$form_errors}
<form method="post" enctype="multipart/form-data" action="wep_admin.php">
    <input type="hidden" name="sid" value="{$SID_SHORT}" />
    <input type="hidden" name="edit" value="{$formvalues.wepID}" />
    <table>
        <tr>
        	<th colspan="2" bgcolor="{$style.bg_2}">WEP bearbeiten</th>
        </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Titel</b></td>
	        <td bgcolor="{$style.bg_a}"><input type="text" name="title" size="30" maxlength="50" class="input_form" value="{$formvalues.title}" /></td>
	    </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Beschreibung</b></td>
	        <td bgcolor="{$style.bg_b}"><input type="text" name="description" size="30" maxlength="250" class="input_form" value="{$formvalues.description}" /></td>
	    </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Sichtbar ab</b><br /> ( DD.MM.YYYY )</td>
	        <td bgcolor="{$style.bg_b}">
            	<input type="text" name="starttime_DD" size="2" maxlength="2" class="input_form" value="{$formvalues.starttime_DD}" />.
                <input type="text" name="starttime_MM" size="2" maxlength="2" class="input_form" value="{$formvalues.starttime_MM}" />.
                <input type="text" name="starttime_YYYY" size="4" maxlength="4" class="input_form" value="{$formvalues.starttime_YYYY}" />
            </td>
	    </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Datei (nur bei Änderung)</b></td>
	        <td bgcolor="{$style.bg_a}"><input type="file" name="file" size="30" class="input_form" /></td>
	    </tr>
    </table>
    <br />
    <input type="submit" name="send_form" class="button_form" value="WEP bearbeiten" />
</form>