Sha256: 054105d314f09cadb4a6e8533e5fd2c53ed98f357ea746b471621b0392e9c525

Contents?: true

Size: 471 Bytes

Versions: 20

Compression:

Stored size: 471 Bytes

Contents

<%#
    headmin/dropdown/button
    accepts block: yes
    parameters:
      id: unique identifier for the dropdown
      class: css class names as string
%>
<% id = local_assigns.has_key?(:id) ? id : 'dropdown-1' %>
<% class_names = local_assigns.has_key?(:class) ? local_assigns[:class] : 'btn' %>

<a class="dropdown-toggle d-flex align-items-center <%= class_names %>" type="button" id="<%= id %>" data-bs-toggle="dropdown" aria-expanded="false">
  <%= yield %>
</a>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
headmin-0.2.9 app/views/headmin/dropdown/_button.html.erb
headmin-0.5.2 app/views/headmin/dropdown/_button.html.erb
headmin-0.5.1 app/views/headmin/dropdown/_button.html.erb
headmin-0.5.0 app/views/headmin/dropdown/_button.html.erb
headmin-0.4.2 app/views/headmin/dropdown/_button.html.erb
headmin-0.4.1 app/views/headmin/dropdown/_button.html.erb
headmin-0.4.0 app/views/headmin/dropdown/_button.html.erb
headmin-0.3.4 app/views/headmin/dropdown/_button.html.erb
headmin-0.3.3 app/views/headmin/dropdown/_button.html.erb
headmin-0.3.2 app/views/headmin/dropdown/_button.html.erb
headmin-0.3.1 app/views/headmin/dropdown/_button.html.erb
headmin-0.2.8 app/views/headmin/dropdown/_button.html.erb
headmin-0.2.7 app/views/headmin/dropdown/_button.html.erb
headmin-0.2.6 app/views/headmin/dropdown/_button.html.erb
headmin-0.2.5 app/views/headmin/dropdown/_button.html.erb
headmin-0.2.4 app/views/headmin/dropdown/_button.html.erb
headmin-0.2.3 app/views/headmin/dropdown/_button.html.erb
headmin-0.2.2 app/views/headmin/dropdown/_button.html.erb
headmin-0.2.1 app/views/headmin/dropdown/_button.html.erb
headmin-0.2.0 app/views/headmin/dropdown/_button.html.erb