Skip to content
代码片段 群组 项目
_custom_attributes.html.haml 433 字节
更新 更旧
- return unless custom_attributes.present?

= render Pajamas::CardComponent.new(body_options: { class: 'gl-py-0' }) do |c|
  - c.header do
    = link_to(_('Custom Attributes'), help_page_path('api/custom_attributes.md'))
  - c.body do
    %ul.content-list
      - custom_attributes.each do |custom_attribute|
        %li
          %span.light
            = custom_attribute.key
          %strong
            = custom_attribute.value