app/views/locomotive/shared/rte/_link_popover.html.slim
- cache base_cache_key_without_site do
.link-dialog-content style='display: none'
= locomotive_form_for link_form, url: '#', defaults: { placeholder: false, hint: false } do |f|
= f.inputs do
= f.input :url
= f.input :target, include_blank: false, collection: [[:self, ''],
[:blank, '_blank']],
label_method: ->(el) { t("simple_form.options.locomotive.rte_input_link_form.target.#{el.first}") }
= f.input :title
p.text-right
a.btn.btn-success.btn-sm.apply
= f.submit_text
|
a.btn.btn-default.btn-sm.cancel
= f.submit_text :cancel