mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
ff07a2e264
API Update to cms-forms theme This commit is required by and depends on https://github.com/silverstripe/silverstripe-framework/pull/5826 in framework.
21 lines
625 B
Scheme
21 lines
625 B
Scheme
<div class="preview-holder">
|
|
<a class="preview" href="$URL" target="_blank">
|
|
$URL
|
|
</a>
|
|
<% if not $IsReadonly %>
|
|
<button type="button" class="btn btn-secondary-outline btn-sm edit">
|
|
<% _t('URLSegmentField.Edit', 'Edit') %>
|
|
</button>
|
|
<% end_if %>
|
|
</div>
|
|
<div class="edit-holder">
|
|
<input $AttributesHTML />
|
|
<button type="button" class="btn btn-primary update">
|
|
<% _t('URLSegmentField.OK', 'OK') %>
|
|
</button>
|
|
<button type="button" class="btn btn-secondary cancel">
|
|
<% _t('URLSegmentField.Cancel', 'Cancel') %>
|
|
</button>
|
|
<% if $HelpText %><p class="form__field-description">$HelpText</p><% end_if %>
|
|
</div>
|