Commit 6248fdfc authored by Robert Speicher's avatar Robert Speicher
Browse files

Don't render the edit_form view for system notes

parent f495f97d82f4
......@@ -59,7 +59,9 @@
= preserve do
= markdown(note.note, {no_header_anchors: true})
= render 'projects/notes/edit_form', note: note
- unless note.system?
-# System notes can't be edited
= render 'projects/notes/edit_form', note: note
- if note.attachment.url
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment