mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
21 lines
628 B
Scheme
21 lines
628 B
Scheme
<div class="preview-holder">
|
|
<a class="preview" href="$URL" target="_blank">
|
|
$URL
|
|
</a>
|
|
<% if not $IsReadonly %>
|
|
<button type="button" class="ss-ui-button ss-ui-button-small edit">
|
|
<% _t('URLSegmentField.Edit', 'Edit') %>
|
|
</button>
|
|
<% end_if %>
|
|
</div>
|
|
<div class="edit-holder">
|
|
<input $AttributesHTML />
|
|
<button type="button" class="update ss-ui-button-small">
|
|
<% _t('URLSegmentField.OK', 'OK') %>
|
|
</button>
|
|
<button type="button" class="cancel ss-ui-button-small ss-ui-action-minor">
|
|
<% _t('URLSegmentField.Cancel', 'Cancel') %>
|
|
</button>
|
|
<% if $HelpText %><p class="help">$HelpText</p><% end_if %>
|
|
</div>
|