<template name="catMgmtForm">
    <form action="submit" id="catInputForm">
        <div class="row">
            <div class="col s8 m10 l10 input-field">
                <input type="text" class="catNameInp" id="catNameInp" style="{{#if $eq catNameErr true}}border: 2px solid red;{{/if}}" />
                <label for="catNameInp">Name*</label>
            </div>
            <div class="col s4 m2 l2 input-field">
                {{#if $eq catEditMode false}}
                    <a class="waves-effect waves-light btn saveCatMgmt green right">Add</a>
                {{else}}
                    <a class="waves-effect waves-light btn editCatMgmt blue right">Rename</a>
                {{/if}}
            </div>
        </div>
    </form>
</template>