gitlab-org--gitlab-foss/app/views/admin/labels/_label.html.haml
Tao Wang 82d35dc5cb i18n: externalize strings from 'app/views/admin/labels'
Signed-off-by: Tao Wang <twang2218@gmail.com>
2018-06-16 14:51:09 +10:00

7 lines
404 B
Text

%li{ id: dom_id(label) }
.label-row
= render_colored_label(label, tooltip: false)
= markdown_field(label, :description)
.float-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?"}