Sha256: 2f3419ca3b59db0f1ba3706c1e16e5336c22b3ba35f5af6cde36395f41f91880

Contents?: true

Size: 386 Bytes

Versions: 10

Compression:

Stored size: 386 Bytes

Contents

<%
  # headmin/dropdown
  #
  # ==== Options
  # * <tt>class</tt> - Custom class names to put on the dropdown
  #
  # ==== Examples
  #   Basic version
  #   <%= render "headmin/dropdown" do %#>
  #     Your content
  #   <% end %#>

  class_names = local_assigns.has_key?(:class) ? local_assigns[:class] : 'btn-group'
%>

<div class="dropdown <%= class_names %>">
  <%= yield %>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
headmin-0.2.9 app/views/headmin/_dropdown.html.erb
headmin-0.2.8 app/views/headmin/_dropdown.html.erb
headmin-0.2.7 app/views/headmin/_dropdown.html.erb
headmin-0.2.6 app/views/headmin/_dropdown.html.erb
headmin-0.2.5 app/views/headmin/_dropdown.html.erb
headmin-0.2.4 app/views/headmin/_dropdown.html.erb
headmin-0.2.3 app/views/headmin/_dropdown.html.erb
headmin-0.2.2 app/views/headmin/_dropdown.html.erb
headmin-0.2.1 app/views/headmin/_dropdown.html.erb
headmin-0.2.0 app/views/headmin/_dropdown.html.erb