2013-02-04 00:44:50 +01:00
|
|
|
<div class="preview-holder">
|
2018-07-11 03:33:27 +02:00
|
|
|
<a class="URL-link" href="$URL" target="_blank">
|
|
|
|
$URL
|
|
|
|
</a>
|
|
|
|
<% if not $IsReadonly %>
|
|
|
|
<button role="button" type="button" class="btn btn-outline-secondary btn-sm edit">
|
|
|
|
<%t SilverStripe\CMS\Forms\SiteTreeURLSegmentField.Edit 'Edit' %>
|
|
|
|
</button>
|
|
|
|
<% end_if %>
|
2013-02-04 00:44:50 +01:00
|
|
|
</div>
|
2018-07-11 03:33:27 +02:00
|
|
|
|
2013-02-04 00:44:50 +01:00
|
|
|
<div class="edit-holder">
|
2018-07-11 03:33:27 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<input $AttributesHTML />
|
|
|
|
<div class="input-group-append">
|
|
|
|
<button role="button" data-icon="accept" type="button" class="btn btn-primary update">
|
|
|
|
<%t SilverStripe\CMS\Forms\SiteTreeURLSegmentField.OK 'OK' %>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="input-group-append">
|
|
|
|
<button role="button" data-icon="cancel" type="button" class="btn btn-outline-secondary btn-sm input-group-append cancel">
|
|
|
|
<%t SilverStripe\CMS\Forms\SiteTreeURLSegmentField.Cancel 'Cancel' %>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% if $HelpText %><p class="form__field-description">$HelpText</p><% end_if %>
|
2016-01-06 00:42:07 +01:00
|
|
|
</div>
|