<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox-content">
                <input id="firstECTag" name="firstECTag" type="hidden"
                       th:value="${firstECTag}"/>
                <input id="secondECTag" name="secondECTag" type="hidden"
                       th:value="${secondECTag}"/>
                <form class="form-horizontal m-t" id="signupForm">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">previewUrl：</label>
                        <div class="col-sm-8">
                            <a id="previewUrl" name="previewUrl" th:href="${ecTag.previewUrl}" target="_blank">
                                <span th:text="${ecTag.previewUrl}"></span>
                            </a>
                            <input id="urlMd5" name="urlMd5" type="hidden"
                                   th:value="${ecTag.urlMd5}"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">电商标签：</label>
                        <div class="col-sm-8">
                            <select id="ecCode" name="ecCode" multiple="multiple">
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-8 col-sm-offset-3">
                            <button type="submit" class="btn btn-primary">提交</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
    $('#ecCode').multiselect({
        nonSelectedText: '请选择标签！'
    });
</script>
<script type="text/javascript" src="/js/appjs/ec_tag/edit.js">
</script>
</body>
</html>
