<%--
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * The contents of this file are subject to the terms of the Liferay Enterprise
 * Subscription License ("License"). You may not use this file except in
 * compliance with the License. You can obtain a copy of the License by
 * contacting Liferay, Inc. See the License for the specific language governing
 * permissions and limitations under the License, including but not limited to
 * distribution rights of the Software.
 *
 *
 *
 */
--%>

<div class="bs-popover-left publish-popover-content">
	<div class="arrow"></div>

	<div class="popover-header"><liferay-ui:message key="copy-url" /></div>

	<div class="popover-body">
		<div class="form-group">
			<div class="input-group">
				<div class="input-group-item input-group-prepend">
					<input class="form-control" id="<portlet:namespace />clipboard" readOnly type="text" value="<%= ddmFormAdminDisplayContext.getPublishedFormURL() %>" />
				</div>

				<span class="input-group-append input-group-item input-group-item-shrink">
					<button class="btn btn-secondary" data-clipboard data-target="#<portlet:namespace />clipboard" type="button">
						<span class="publish-button-text">
							<liferay-ui:message key="copy" />
						</span>
						<span class="publish-button-success-icon">
							<svg class="lexicon-icon lexicon-icon-check">
								<use xlink:href="<%= ddmFormAdminDisplayContext.getLexiconIconsPath() %>#check" />
							</svg>
						</span>
					</button>
				</span>
			</div>

			<div class="form-feedback-item"></div>
		</div>
	</div>
</div>