Sha256: 254ab1550420c25ab2a13387a211573e1b6826233e60bf560d7d1e6d04c8cfee

Contents?: true

Size: 383 Bytes

Versions: 11

Compression:

Stored size: 383 Bytes

Contents

<%
  # headmin/dropdown
  #
  # ==== Options
  # * +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

11 entries across 11 versions & 1 rubygems

Version Path
headmin-0.6.3 app/views/headmin/_dropdown.html.erb
headmin-0.6.2 app/views/headmin/_dropdown.html.erb
headmin-0.6.1 app/views/headmin/_dropdown.html.erb
headmin-0.6.0 app/views/headmin/_dropdown.html.erb
headmin-0.5.9 app/views/headmin/_dropdown.html.erb
headmin-0.5.8 app/views/headmin/_dropdown.html.erb
headmin-0.5.7 app/views/headmin/_dropdown.html.erb
headmin-0.5.6 app/views/headmin/_dropdown.html.erb
headmin-0.5.5 app/views/headmin/_dropdown.html.erb
headmin-0.5.4 app/views/headmin/_dropdown.html.erb
headmin-0.5.3 app/views/headmin/_dropdown.html.erb