Sha256: 2298cac41065032f9c701e9e7d71d7a02bcbda268b57845bc802572b5f4ce242

Contents?: true

Size: 383 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
headmin-0.5.1 app/views/headmin/_dropdown.html.erb
headmin-0.5.0 app/views/headmin/_dropdown.html.erb
headmin-0.4.2 app/views/headmin/_dropdown.html.erb
headmin-0.4.1 app/views/headmin/_dropdown.html.erb
headmin-0.4.0 app/views/headmin/_dropdown.html.erb
headmin-0.3.4 app/views/headmin/_dropdown.html.erb
headmin-0.3.3 app/views/headmin/_dropdown.html.erb
headmin-0.3.2 app/views/headmin/_dropdown.html.erb
headmin-0.3.1 app/views/headmin/_dropdown.html.erb