{extends "[shared]window.tpl"}

{block tabs}
    {windowTab id='flapSetCategory'}
{/block}

{block tabsContent}
    <div id="flapSetCategory" class="tab-pane fade in boxFlex">
        <div class="form-group">
            <div class="col-md-2 control-label">
                <label>{'name'|translate}</label>
            </div>
            <div class="col-md-10">
                <input type="text" class="form-control input-sm" name="data[name]" maxlength="100" value="{$body.data.name}" />
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-2 control-label">
                <label>{'description'|translate}</label>
            </div>
            <div class="col-md-10 box">
                <textarea name="data[descr]" class="form-control input-sm">{$body.data.descr}</textarea>
                {insert_wysiwyg target="data[descr]"}
            </div>
        </div>
    </div>
{/block}
