diff --git a/app/views/link/components/editor.pug b/app/views/link/components/editor.pug index 47b2c31..343d8d9 100644 --- a/app/views/link/components/editor.pug +++ b/app/views/link/components/editor.pug @@ -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') \ No newline at end of file