<h4 class="text-center mb-3">Добавление задания</h4>
<form method="post">
    <input type="hidden" name="action" value="add_task">
    <input type="hidden" name="add_current_url" value="{$current_url}">
    <div class="row">
        <div class="col-12 mb-2">
            <fieldset class="form-icon-group left-icon position-relative">
                <input type="text" class="form-control" name="title" placeholder="Заголовок задания" required>
                <div class="form-icon position-absolute">
                    <img src="{$stheme}/images/svg/option.svg" alt="">
                </div>
            </fieldset>
        </div>
        <div class="col-12">
            <textarea class="form-control mt-2 mb-2" rows="3" name="description" spellcheck="false" placeholder="Текст задания" required></textarea>
        </div>
    </div>
    <button type="submit" class="btn btn-primary w-100">Добавить задание</button>
</form>