<!--
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
-->
<div class="row">
    <div class="appForm col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h4>Tag Definition</h4></div>
            <div class="panel-body inputs">
                <form data-name="tagForm" class="form-horizontal" novalidate="" role="form">
                    <fieldset>
                        <div class="form-group hide">
                            <label for="category" class="col-sm-2 control-label">Category</label>
                            <div class="col-sm-10">
                                <select class="form-control" data-id="category" name="category" required="">
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="typeName" class="col-sm-2 control-label">Tag Name</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" name="typeName" data-id="typeName" placeholder="Tag Name" required="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-sm-2">Parent Tag</label>
                            <div class="col-sm-5 mrt-8">
                                <select class="form-control h160" data-id="parentTag" name="ParentTag" multiple>
                                </select>
                            </div>
                            <div class="mtop3">
                                <a href="javascript:void(0)" class="pull-left fa fa-refresh" title="Refreh parent tag list" data-id="refreshBtn">
                                </a>
                            </div>
                        </div>
                        <div data-id="addAttributeDiv"></div>
                        <div class="form-group text-right">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="default" class="btn btn-default addAttr" disabled="true" data-id="addAttrBtn"><i class="fa fa-plus"></i> Add Attribute</button>
                            </div>
                        </div>
                        <div class="form-group panel-footer">
                            <div class="col-sm-12 text-right padding0">
                                <button class="btn btn-primary saveAttr" type="button" disabled="true" data-id="saveButton">Save</button>
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
</div>
