<%-- /*
 * 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.
 */ --%>
<%@include file="/libs/sling-cms/global.jsp"%>
<div data-wysihtml-dialog="insertImage" style="display:none">
    <div class="has-padding-1 has-background-white-ter rte-form">
        <p><fmt:message key="Image" /></p>
        <div class="field has-addons">
            <div class="control is-expanded">
                <input class="input pathfield is-small" data-wysihtml-dialog-field="src" data-type="nt:file" data-base="/content" autocomplete="off" />
            </div>
            <div class="control">
              <fmt:message key="Search" var="searchMessage" />
              <a href="/cms/shared/search.html" class="button is-small Fetch-Modal search-button" data-title="${searchMessage}" data-path=".Main-Content > *">
                  <span class="jam jam-search"></span>
              </a>
            </div>
        </div>
        <div class="field">
            <fmt:message key="Alternative text..." var="altTextMessage" />
            <input class="input is-small" data-wysihtml-dialog-field="alt" placeholder="${altTextMessage}" />
        </div>
        <div class="buttons">
            <a data-wysihtml-dialog-action="save" class="button is-small is-success">
                <em class="jam jam-check icon"></em>
            </a>
            <a data-wysihtml-dialog-action="cancel" class="button is-small">
                <em class="jam jam-close icon"></em>
            </a>
        </div>
    </div>
</div>