Sha256: 4dc42952aadf63f59a635860f29cb9d00d9070b8cfe5263663faec4d7596ba82
Contents?: true
Size: 892 Bytes
Versions: 66
Compression:
Stored size: 892 Bytes
Contents
<action-list> <%= render(Primer::BaseComponent.new(tag: :div)) do %> <% if acts_as_form_input? %> <span data-list-inputs="true"> <%= @form_builder.hidden_field(@input_name, multiple: multi_select?, skip_default_ids: true) %> </span> <% end %> <% if heading %> <%= heading %> <% end %> <%= render(Primer::BaseComponent.new(tag: :ul, **@system_arguments)) do %> <% items.each_with_index do |item, index| %> <%# the conditions here make sure two dividers are never rendered one after the other %> <% if index > 0 && @show_dividers && !item.is_a?(Divider) && !items[index - 1].is_a?(Divider) %> <%= render(Primer::Alpha::ActionList::Divider.new) %> <% end %> <%= item %> <% end %> <% end %> <%= capture(&post_list_content_block) if post_list_content_block %> <% end %> </action-list>
Version data entries
66 entries across 66 versions & 2 rubygems