Sha256: 00af3dec9a807a6a6bf8f1280fb137eaa1d325ece91e2514a6f7276d81094c1a
Contents?: true
Size: 830 Bytes
Versions: 11
Compression:
Stored size: 830 Bytes
Contents
%div._nest-editor .card-header.d-flex %h5.mt-1 = title .ms-auto = link_to icon_tag(:close), path: "#", "data-bs-dismiss": editor_mode, class: "text-dark p-1 ms-1" .card-body .form = haml_partial "#{editor}_editor", snippet: snippet .card-footer.p-0 .preview.mx-1.my-1.form-control-feedback Syntax preview = text_field_tag "preview", snippet.raw, class: "_#{ref_type}-preview w-100 text-muted", readonly: true %hr.mt-1.mb-1 .form-group-inline.d-flex.justify-content-center.py-3 = button_tag (modal_tm_snippet_editor? ? "Apply and Close" : "Apply"), apply_opts.merge(class: "_#{ref_type}-apply btn-sm me-3") %a.border-light.text-dark.btn.btn-sm.btn-secondary{"data-bs-dismiss": editor_mode, href: "#"} = modal_tm_snippet_editor? ? "Cancel" : "Close"
Version data entries
11 entries across 11 versions & 1 rubygems