9920551536
This commit alters views for the following models to use the markdown cache if present: * AbuseReport * Appearance * ApplicationSetting * BroadcastMessage * Group * Issue * Label * MergeRequest * Milestone * Project At the same time, calls to `escape_once` have been moved into the `single_line` Banzai pipeline, so they can't be missed out by accident and the work is done at save, rather than render, time.
7 lines
395 B
Text
7 lines
395 B
Text
%li{id: dom_id(label)}
|
|
.label-row
|
|
= render_colored_label(label, tooltip: false)
|
|
= markdown_field(label, :description)
|
|
.pull-right
|
|
= link_to 'Edit', edit_admin_label_path(label), class: 'btn btn-sm'
|
|
= link_to 'Delete', admin_label_path(label), class: 'btn btn-sm btn-remove remove-row', method: :delete, remote: true, data: {confirm: "Delete this label? Are you sure?"}
|