UNPKG

apostrophe

Version:

Apostrophe is a user-friendly content management system. You'll need more than this core module. See apostrophenow.org to get started.

30 lines (28 loc) 1.19 kB
{% include "formMacros.html" %} <div class="apos-link-editor apos-modal apos-template"> <h3> {% block title %} {{ __('Edit Link') }} {% endblock %} </h3> <div class="apos-modal-body"> <form> {% block formBody %} <p>{{ __('Enter a URL. To create an email link, enter: <code>mailto:me@example.com</code>') }}</p> {{ formText('href', 'Link To') }} <p>{{ __('You can also name this point in the text as a target for <em>other</em> links ending in <code>#name</code>.') }}</p> {{ formText('name', 'Named Anchor') }} <p>{{ __('Enter an optional tab name to open the link in a new tab. Usually you will leave this blank. Use <code>_blank</code> to guarantee a new tab each time.') }}</p> {{ formText('target', 'Target') }} {% endblock %} </form> </div> <div class="apos-modal-footer"> {% block additionalFooterItems %} {% endblock %} <div class="apos-modal-footer-buttons"> <a href="#" data-action="dismiss" class="apos-control apos-button apos-cancel">{{ __('Cancel') }}</a> <a href="#" class="apos-control apos-button apos-save">{{ __('Save Link') }}</a> </div> </div> </div>