<div class="form_wrapper">
    {if isset($error)}
        <p class="error_msg">
            {$error}
        </p>
    {/if}

    {if !isset($success)}
        <form method="post" enctype="multipart/form-data">
            <input type="hidden" name="action" value="upload_milestone">
            <div>
                <label for="fileToUpload">Fájl:</label>
                <div><input type="file" name="fileToUpload" id="fileToUpload"></div>
            </div>
            <div>
                <div style="float: left;">
                    <input class="button black" type="submit" value="Feltöltés">
                </div>
            </div>
        </form>
    {else}
        <p class="success_msg">{$success}</p>
        <a href="/admin/milestones">Vissza</a>
    {/if}
</div>
