2013-02-04 00:44:50 +01:00
|
|
|
<div class="preview-holder">
|
2016-10-21 00:58:18 +02:00
|
|
|
<a class="URL-link" href="$URL" target="_blank">
|
2013-02-04 00:44:50 +01:00
|
|
|
$URL
|
|
|
|
</a>
|
2016-03-15 00:48:46 +01:00
|
|
|
<% if not $IsReadonly %>
|
2016-10-21 00:58:18 +02:00
|
|
|
<button role="button" type="button" class="btn btn-sm ui-button-text-only ss-ui-button edit">
|
2017-05-19 02:11:46 +02:00
|
|
|
<%t SilverStripe\CMS\Forms\SiteTreeURLSegmentField.Edit 'Edit' %>
|
2016-03-15 00:48:46 +01:00
|
|
|
</button>
|
|
|
|
<% end_if %>
|
2013-02-04 00:44:50 +01:00
|
|
|
</div>
|
|
|
|
<div class="edit-holder">
|
2013-07-18 13:14:29 +02:00
|
|
|
<input $AttributesHTML />
|
2016-10-21 00:58:18 +02:00
|
|
|
<button role="button" data-icon="accept" type="button" class="btn btn-sm ui-button-text-icon-primary ss-ui-button update">
|
2017-05-19 02:11:46 +02:00
|
|
|
<%t SilverStripe\CMS\Forms\SiteTreeURLSegmentField.OK 'OK' %>
|
2013-02-04 00:44:50 +01:00
|
|
|
</button>
|
2016-10-21 00:58:18 +02:00
|
|
|
<button role="button" data-icon="cancel" type="button" class="btn btn-sm ui-button-text-icon-secondary ss-ui-button cancel">
|
2017-05-19 02:11:46 +02:00
|
|
|
<%t SilverStripe\CMS\Forms\SiteTreeURLSegmentField.Cancel 'Cancel' %>
|
2013-02-04 00:44:50 +01:00
|
|
|
</button>
|
2016-07-25 07:25:22 +02:00
|
|
|
<% if $HelpText %><p class="form__field-description">$HelpText</p><% end_if %>
|
2016-01-06 00:42:07 +01:00
|
|
|
</div>
|