<template name="locMgmtForm">
    <form action="" id="locInputForm">
        <div class="row">
            <div class="col s12 m6 l6 input-field">
                <input type="text" class="locNameInp" id="locNameInp" style="{{#if $eq locNameErr true}}border: 2px solid red;{{/if}}" />
                <label for="locNameInp">Name*</label>
            </div>
        </div>
        <div class="row">
            <div class="col s6 m6 l6">
                <a class="waves-effect waves-light btn cancelLocMgmt orange">Cancel</a>
            </div>
            <div class="col s6 m6 l6">
                {{#if $eq locEditMode false}}
                    <a class="waves-effect waves-light btn saveLocMgmt green right">Add</a>
                {{else}}
                    <a class="waves-effect waves-light btn editLocMgmt blue right">Rename</a>
                {{/if}}
            </div>
        </div>
    </form>
</template>