<form data-id="form-category"
      class="needs-validation"
      novalidate>
    <div class="form-group">
        <label for="input-category-name">
            <%= _lc( 'CATEGORY_NAME' ) %>
        </label>
        <input type="text"
               minlength="3"
               maxlength="32"
               data-id="input-category-name"
               id="input-category-name"
               class="form-control"
               value="<%= category ? category.name : '' %>"
               placeholder="<%= _lc( 'CATEGORY_NAME' ) %>"
               required />
        <div class="invalid-feedback">
            <%= _lc( 'VALIDATION_INPUT_REQUIRED' ) %>
        </div>
    </div>
</form>