gitlab-org--gitlab-foss/app/views/projects/diffs/_image_diff_frame.html.haml
2017-10-07 04:25:17 +00:00

5 lines
250 B
Text

- class_name = local_assigns.fetch(:class_name, '')
- note_type = local_assigns.fetch(:note_type, '')
.frame{ class: class_name, data: { position: position, note_type: note_type } }
= image_tag(image_path, alt: alt, draggable: false, lazy: false)