- issuable = local_assigns.fetch(:issuable, nil)

- return unless issuable && issuable_templates(issuable).any?

.col-sm-3.col-lg-2
  .js-issuable-selector-wrap{ data: { issuable_type: issuable.to_ability_name } }
    = template_dropdown_tag(issuable) do
      %ul.dropdown-footer-list
        %li
          %a.no-template
            No template
          %a.reset-template
            Reset template
