|
|
@ -14,7 +14,7 @@ mixin renderLinkEditor (editorId, link) |
|
|
|
input(id="href", name="href", type="text", placeholder="Enter link URL", value= link ? link.href : undefined).uk-input |
|
|
|
div(uk-grid).uk-grid-small |
|
|
|
.uk-width-auto |
|
|
|
button(type="button", uk-toggle={ target: '#link-editor' }).uk-button.dtp-button-default Cancel |
|
|
|
button(type="button", uk-toggle={ target: editorId }).uk-button.dtp-button-default Cancel |
|
|
|
.uk-width-auto |
|
|
|
button(type="submit").uk-button.dtp-button-primary |
|
|
|
+renderButtonIcon('fa-plus', link ? 'Update link' : 'Add link') |